aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 35fe25f..88bf597 100644
--- a/Makefile
+++ b/Makefile
@@ -23,3 +23,10 @@ cibic.tab.c: cibic.y
clean:
rm -f cibic lex.yy.c cibic.tab.c *.o
+
+sem: semantics.o test.o
+ gcc -o sem semantics.o test.o
+semantics.o: semantics.c
+ gcc -c semantics.c -Wall -Wextra
+test.o: test.c
+ gcc -c test.c -Wall -Wextra