summaryrefslogtreecommitdiff
path: root/conf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'conf/Makefile')
-rw-r--r--conf/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/conf/Makefile b/conf/Makefile
index 3b65ad1e..19db9c2c 100644
--- a/conf/Makefile
+++ b/conf/Makefile
@@ -25,9 +25,10 @@ $(o)cf-parse.tab.c: $(o)cf-parse.y
$(o)cf-lex.c: $(s)cf-lex.l
$(FLEX) $(FLEX_DEBUG) -f -s -B -8 -Pcf_ -o$@ $<
-$(o)cf-lex.o: $(o)cf-parse.tab.h $(o)keywords.h
$(o)cf-lex.o: CFLAGS+=-Wno-sign-compare -Wno-unused-function
+prepare: $(o)keywords.h $(o)commands.h $(o)cf-parse.tab.h
+
$(addprefix $(o), cf-parse.y keywords.h commands.h cf-parse.tab.h cf-parse.tab.c cf-lex.c): $(objdir)/.dir-stamp
$(call clean,cf-parse.tab.h cf-parse.tab.c cf-parse.y keywords.h commands.h cf-lex.c cf-parse.output)