summaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile
new file mode 100644
index 0000000..f1e1388
--- /dev/null
+++ b/test/Makefile
@@ -0,0 +1,9 @@
+CC=g++
+CFLAGS=-g3 -fno-rtti -fno-exceptions -fno-unwind-tables
+
+make:
+ g++ -c test1.c
+ gcc $(CFLAGS) test1.o ../arg.o -o test1
+
+leak:
+ valgrind --leak-check=full --track-origins=yes --log-file=log.txt ./test1 -d "ads|asd|asd" \ No newline at end of file