summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 6746525..01eaee4 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,11 @@
all: 7ed
7ed:
gcc -Wfatal-errors -Wall -Werror -Wextra -g 7ed.c functions.c startmode.c editmode.c -o 7ed
- cp 7ed test
- mv test/7ed test/7ed-test
+
clean:
rm -f 7ed
- rm -f test/7ed-test
+ rm -f test/7ed-TESTING
+
+tests:
+ gcc -Wfatal-errors -Wall -Werror -Wextra -g -fsanitize=address 7ed.c functions.c startmode.c editmode.c -o test/7ed-TESTING
+