aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTeddy <[email protected]>2014-03-24 22:10:49 +0800
committerTeddy <[email protected]>2014-03-24 22:10:49 +0800
commit34c3611f364b3ea2955cbfac934b17900390364d (patch)
treed2379577f95f3956be3e492ed5e38b4bba68d2d6 /Makefile
parentf218a80d6ca8a69ba0b22cb87f99e8b82162bbee (diff)
AST Construction: slightly modified
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 9abe133..04edd68 100644
--- a/Makefile
+++ b/Makefile
@@ -9,11 +9,11 @@ debug:
cibic: lex.yy.o cibic.tab.o ast.o
gcc -o cibic lex.yy.o cibic.tab.o ast.o
lex.yy.o: lex.yy.c
- gcc -c lex.yy.c -Wall -Wextra
+ gcc -c lex.yy.c
cibic.tab.o: cibic.tab.c
- gcc -c cibic.tab.c -Wall -Wextra
+ gcc -c cibic.tab.c
ast.o: ast.c
- gcc -c ast.c -g -Wall -Wextra
+ gcc -c ast.c -g -Wall -Wextra -DCNODE_DEBUG
lex.yy.c: cibic.l
flex cibic.l
cibic.tab.c: cibic.y