summaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2018-06-03 00:04:50 +0100
committerFreeArtMan <dos21h@gmail.com>2018-06-03 00:04:50 +0100
commit587dd24b5970aa3605cc2bc2826f7e35344b4317 (patch)
treefe57c7f01376939eda9974c6bdfd2d5be1f9a832 /test/Makefile
downloadlibarg++-587dd24b5970aa3605cc2bc2826f7e35344b4317.tar.gz
libarg++-587dd24b5970aa3605cc2bc2826f7e35344b4317.zip
Initial commit
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