blob: 406d97cffa35cdc5a5ded0e79bdbb65df8aebc44 [file] [log] [blame] [edit]
diff -Naur a/lib/Makefile.in b/lib/Makefile.in
--- a/lib/Makefile.in 2015-03-13 22:44:43.967266167 -0700
+++ b/lib/Makefile.in 2015-03-13 22:47:05.496603070 -0700
@@ -301,7 +301,7 @@
\
route/pktloc_syntax.c route/pktloc_grammar.c route/pktloc.c
-all: defs.h
+all: defs.h route/pktloc_syntax.h route/pktloc_grammar.h
$(MAKE) $(AM_MAKEFLAGS) all-am
.SUFFIXES:
@@ -977,9 +977,11 @@
# Hack to avoid using ylwrap. It does not function correctly in combination
# with --header-file=
+route/pktloc_grammar.h: route/pktloc_grammar.c
route/pktloc_grammar.c: route/pktloc_grammar.l
$(LEX) --header-file=route/pktloc_grammar.h $(LFLAGS) -o $@ $^
+route/pktloc_syntax.h: route/pktloc_syntax.c
route/pktloc_syntax.c: route/pktloc_syntax.y
$(YACC) -d $(YFLAGS) -o $@ $^