From 968e79d3d3c4459471e26f47ac28fe37903a3113 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Thu, 3 Jul 2025 15:43:56 +0300 Subject: chore: Minor syle improvement of Makefile and added leak_check --- Makefile | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) 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 -- cgit v1.3.1-26-gb76a