aboutsummaryrefslogtreecommitdiff
path: root/tests/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/Makefile b/tests/Makefile
new file mode 100644
index 0000000..660a20f
--- /dev/null
+++ b/tests/Makefile
@@ -0,0 +1,10 @@
+.POSIX:
+
+CC = cc
+CFLAGS = -g -fsanitize=address,undefined
+
+test: FORCE
+ $(CC) test.c ../src/extlib.c ../src/extstring.c $(CFLAGS) -o test
+ ./test
+
+FORCE: ; # PHONY is a non standard extension