summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9218aa1..9bf2ab7 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,17 @@
+.PHONY: test clean
+
compll.o: compll.c compll.h
- gcc -Wall -Wextra -g compll.c -DDEBUG -o compll
+ gcc -Wall -Wextra -g -c compll.c
+
+compll: compll.c compll.h
+ gcc -Wall -Wextra -g -DDEBUG compll.c -o compll
./compll
clean:
rm -f compll.o compll
+ ${MAKE} -C test clean
+
+test:
+ ${MAKE} -C test test