aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2016-08-04 13:38:46 +0200
committerEugene Sandulenko2016-08-04 13:38:46 +0200
commite0a9d969749ae1fc26fcce7e258363914413b111 (patch)
treebcfd1a0e2716343be6f51f490c4c2c50ada01519
parent902d49ce099df7ce8bb5eb1b6ea4c00f63d69c86 (diff)
downloadscummvm-rg350-e0a9d969749ae1fc26fcce7e258363914413b111.tar.gz
scummvm-rg350-e0a9d969749ae1fc26fcce7e258363914413b111.tar.bz2
scummvm-rg350-e0a9d969749ae1fc26fcce7e258363914413b111.zip
DIRECTOR: Put flex/bison as separate target, so general compilation is not affected
-rw-r--r--engines/director/module.mk4
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/director/module.mk b/engines/director/module.mk
index 90d27e7413..2499528304 100644
--- a/engines/director/module.mk
+++ b/engines/director/module.mk
@@ -17,10 +17,8 @@ MODULE_OBJS = \
lingo/lingo-lex.o \
lingo/lingo-the.o
-engines/director/lingo/lingo-lex.cpp: engines/director/lingo/lingo-lex.l
+director-grammar:
flex -o engines/director/lingo/lingo-lex.cpp engines/director/lingo/lingo-lex.l
-
-engines/director/lingo/lingo-gr.cpp: engines/director/lingo/lingo-gr.y
bison -dv -o engines/director/lingo/lingo-gr.cpp engines/director/lingo/lingo-gr.y
mv engines/director/lingo/lingo-gr.hpp engines/director/lingo/lingo-gr.h