From f218a80d6ca8a69ba0b22cb87f99e8b82162bbee Mon Sep 17 00:00:00 2001 From: Teddy Date: Mon, 24 Mar 2014 20:54:55 +0800 Subject: AST Construction: almost done --- Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 4cf057a..9abe133 100644 --- a/Makefile +++ b/Makefile @@ -3,14 +3,17 @@ all: cibic run: ./cibic +debug: + gdb cibic + 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 + gcc -c lex.yy.c -Wall -Wextra cibic.tab.o: cibic.tab.c - gcc -c cibic.tab.c + gcc -c cibic.tab.c -Wall -Wextra ast.o: ast.c - gcc -c ast.c -g + gcc -c ast.c -g -Wall -Wextra lex.yy.c: cibic.l flex cibic.l cibic.tab.c: cibic.y -- cgit v1.2.3-70-g09d2