summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@colm.net>2021-02-06 12:14:16 -0800
committerAdrian Thurston <thurston@colm.net>2021-02-06 12:14:16 -0800
commit0c7ad66c58b23107a39e856f8e473e53476ee32c (patch)
treef14fcf33e26645fac4f3a6aca9872a210e78c770
parent4e4bb1cd0cb8d68cea1a202ceae5da52c9c472e1 (diff)
downloadcolm-0c7ad66c58b23107a39e856f8e473e53476ee32c.tar.gz
build fixes: gen/if[123].cc must depend on gen/if[123].h
-rw-r--r--src/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 8cc0827a..eb704e9d 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -118,7 +118,7 @@ gen/parse1.c: gen/bootstrap1.pack
gen/if1.h: gen/bootstrap1.pack
$(builddir)/colm-wrap -o $@ $<
-gen/if1.cc: gen/bootstrap1.pack $(FIRST)
+gen/if1.cc: gen/bootstrap1.pack $(FIRST) gen/if1.h
$(builddir)/colm-wrap -o $@ $<
@@ -146,7 +146,7 @@ gen/parse2.c: gen/bootstrap2.pack
gen/if2.h: gen/bootstrap2.pack
$(builddir)/colm-wrap -o $@ $<
-gen/if2.cc: gen/bootstrap2.pack $(FIRST)
+gen/if2.cc: gen/bootstrap2.pack $(FIRST) gen/if2.h
$(builddir)/colm-wrap -o $@ $<
bootstrap2_CXXFLAGS = $(common_CFLAGS) -DLOAD_COLM
@@ -168,7 +168,7 @@ gen/parse3.c: gen/bootstrap3.pack
gen/if3.h: gen/bootstrap3.pack
$(WRAP_PARSE_3_WITH) -o $@ $<
-gen/if3.cc: gen/bootstrap3.pack $(FIRST)
+gen/if3.cc: gen/bootstrap3.pack $(FIRST) gen/if3.h
$(WRAP_PARSE_3_WITH) -o $@ $<
colm_CXXFLAGS = $(common_CFLAGS) -DLOAD_COLM