aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 4dcf9d2..8d6fc7c 100644
--- a/Makefile
+++ b/Makefile
@@ -50,6 +50,11 @@ clean-obj:
clean:
rm -rf ${BUILD_DIR}
rm -f *.core
+ rm -f test/tests
+
+tests: debug
+ cd test && make
+ test/tests
${BUILD_DIR}/cherry.o: src/cherry.c
${CC} ${CFLAGS} -c $> -o $@