Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
1 files changed, 11 insertions, 2 deletions
-rw-r--r--Makefile13
diff --git a/Makefile b/Makefile
index 259379a..b0bf243 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,16 @@
+CXX=g++
+CPPFLAGS=-g
+
build:
- g++ -g src/*.cpp
+ $(CXX) $(CPPFLAGS) src/*.cpp -o iso_tp_parser
exec:
- ./a.out
+ ./iso_tp_parser
run: build exec
+
+clean:
+ rm ./iso_tp_parser
+
+leak_check: build
+ valgrind --leak-check=full --show-leak-kinds=all ./iso_tp_parser