Files
Roy.Li e269762ff4 radvd: change scanner.* file dependency
generation of scanner.c needs gram.h, not just scanner.o

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
2013-01-04 15:12:20 -05:00

25 lines
533 B
Diff

scanner.c is generated by flex using scanner.l, scanner.l needs gram.h
when produce scanner.c, so redefine the dependency relation
Upstream-Status: Pending
Signed-off-by: Roy.Li <rongqing.li@windriver.com>
---
Makefile.am | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 04b834b..2da986c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -131,5 +131,4 @@ dist-hook:
rm -f $(distdir)/gram.h
rm -f $(distdir)/scanner.c
-scanner.o: gram.h
-
+scanner.c: gram.h
--
1.7.4.1