From 97fb20538cdac668dda0a0aa82884505bc0df61a Mon Sep 17 00:00:00 2001 From: Teddy Date: Sun, 23 Mar 2014 16:54:19 +0800 Subject: lexical analysis almost done --- Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..6deae78 --- /dev/null +++ b/Makefile @@ -0,0 +1,11 @@ +all: cibic + +run: + ./cibic + +cibic: lex.yy.c cibic.tab.c + gcc -o cibic lex.yy.c cibic.tab.c +lex.yy.c: cibic.l + flex cibic.l +cibic.tab.c: cibic.y + bison -d cibic.y -- cgit v1.2.3-70-g09d2