From 5f2965bcaca608f0d9af84373565539ae384918d Mon Sep 17 00:00:00 2001 From: Teddy Date: Wed, 26 Mar 2014 19:22:20 +0800 Subject: semantics: symbol table now works --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Makefile') 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 -- cgit v1.2.3-70-g09d2