diff --git a/src/Makefile.am b/src/Makefile.am index b594a8308823a325a3cfddf94be4ca1514db886f..8bf944bd937e7c2ec227c20ca9d643f24044b676 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,6 +1,6 @@ SUBDIRS = macro -BUILT_SOURCES = DynareBison.hh stack.hh position.hh location.hh DynareBison.cc DynareFlex.cc FlexLexer.h +BUILT_SOURCES = DynareBison.hh location.hh DynareBison.cc DynareFlex.cc FlexLexer.h bin_PROGRAMS = dynare_m @@ -81,7 +81,7 @@ dynare_m-DynareFlex.$(OBJEXT): CXXFLAGS += -Wno-old-style-cast DynareBison.cc: DynareBison.yy $(YACC) -W -o $@ $< -DynareBison.hh location.hh stack.hh position.hh: DynareBison.cc +DynareBison.hh location.hh: DynareBison.cc all-local: $(PROGRAMS) diff --git a/src/macro/Makefile.am b/src/macro/Makefile.am index c97e99fc65ab70541b36490f78a17c7023cfa40e..9d442a9362257c8aef45c3bdcefbd0f630f563c8 100644 --- a/src/macro/Makefile.am +++ b/src/macro/Makefile.am @@ -1,6 +1,6 @@ noinst_LIBRARIES = libmacro.a -BUILT_SOURCES = Parser.hh stack.hh position.hh location.hh Parser.cc Tokenizer.cc +BUILT_SOURCES = Parser.hh location.hh Parser.cc Tokenizer.cc # We don't put BUILT_SOURCES in libmacro_a_SOURCES, otherwise Parser.o and Tokenizer.o will be linked two times (Automake translates Tokenizer.ll and Parser.yy into their respective .o); so BUILT_SOURCES is in EXTRA_DIST libmacro_a_SOURCES = \ @@ -31,4 +31,4 @@ libmacro_a-Tokenizer.$(OBJEXT): CXXFLAGS += -Wno-old-style-cast Parser.cc: Parser.yy $(YACC) -W -o $@ $< -Parser.hh location.hh stack.hh position.hh: Parser.cc +Parser.hh location.hh: Parser.cc