diff options
Diffstat (limited to 'wiretap/Makefile.am')
-rw-r--r-- | wiretap/Makefile.am | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/wiretap/Makefile.am b/wiretap/Makefile.am index e30efcfbbe..597e77d27b 100644 --- a/wiretap/Makefile.am +++ b/wiretap/Makefile.am @@ -53,6 +53,8 @@ libwiretap_generated_la_SOURCES = \ libwiretap_generated_la_CFLAGS = $(GENERATED_CFLAGS) +BUILT_SOURCES = $(GENERATED_HEADER_FILES) + EXTRA_DIST = \ .editorconfig \ README.airmagnet \ @@ -71,11 +73,9 @@ k12text_lex.h : k12text.c ascend_scanner_lex.h : ascend_scanner.c -ascend_scanner.c: ascend.h - ascend.h: ascend.c -ascend.c: ascend.y +ascend.c: $(srcdir)/ascend.y ascend_scanner_lex.h @if [ -z "$(YACC)" ]; then \ echo "Neither bison nor byacc has been found"; \ exit 1; \ |