aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTeddy <[email protected]>2014-04-08 08:03:56 +0800
committerTeddy <[email protected]>2014-04-08 08:03:56 +0800
commitc3f0e6361153afab29e481d2dbae3651bd655bfd (patch)
tree5adb6440252f129a5b7e261f2cc4e7cb55a02c16
parent7a6ef5fbc1c246e56e17bd5b6ff4b46dd224de9d (diff)
lex.yy.c requires cibic.tab.h
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a2fec1a..62f1da9 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@ db:
cibic: lex.yy.o cibic.tab.o ast.o main.o semantics.o
gcc -o cibic lex.yy.o cibic.tab.o ast.o main.o semantics.o
-lex.yy.o: lex.yy.c
+lex.yy.o: lex.yy.c cibic.tab.c
gcc -c lex.yy.c
cibic.tab.o: cibic.tab.c
gcc -c cibic.tab.c