added an interupt handler has SIGINT was being ignored... ?
[physics.git] / src / Makefile
index e6fe96b..32cfc49 100644 (file)
@@ -20,6 +20,7 @@ SRCS += main.cpp
 SRCS += mathw.cpp
 SRCS += ticks.cpp
 SRCS += Vector2.cpp
+SRCS += handleSignal.cpp
 
 SRCS += Entities/Ball.cpp
 SRCS += Entities/Entity.cpp
@@ -100,7 +101,7 @@ tags: ${SRCS}
        ctags $^
 
 tar:
-       ${Q1}echo "tar: physics.tar"
+       ${Q1}echo "tar: physics.tar.bz2"
        ${Q2}rm -f physics.tar # prevents appending
        ${Q2}for f in ${TARS}; do\
                tar -C ../.. -rf physics.tar "physics/src/$$f"; done
@@ -116,7 +117,7 @@ run: all
 
 .PHONY: val
 val: all
-       valgrind ${TARGET}
+       valgrind --leak-check=full ${TARGET}
 
 .PHONY: prof
 prof: all