Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
Commit968e79d3d3c4459471e26f47ac28fe37903a3113 (patch)
Author
 Syndamia <kamen@syndamia.com>
2025-07-03 15:43:56 +0300
Committer
 Syndamia <kamen@syndamia.com>
2025-07-03 15:43:56 +0300
Files6925416663966e25efc46b0b021fa3fee5c3687f
iso-tp-parser-carista-968e79d3d3c4459471e26f47ac28fe37903a3113.tar
iso-tp-parser-carista-968e79d3d3c4459471e26f47ac28fe37903a3113.tar.gz
iso-tp-parser-carista-968e79d3d3c4459471e26f47ac28fe37903a3113.zip
Parent6378e5a22e462e406eb1d44eb924d227a16af01e (diff)
chore: Minor syle improvement of Makefile and added leak_check
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