Skip to content
Snippets Groups Projects
Verified Commit 37e7a6d1 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Now that we require Bison ≥ 3.2, the stack.hh and position.hh files are no longer generated

parent b299983a
Branches
No related tags found
No related merge requests found
SUBDIRS = macro 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 bin_PROGRAMS = dynare_m
...@@ -81,7 +81,7 @@ dynare_m-DynareFlex.$(OBJEXT): CXXFLAGS += -Wno-old-style-cast ...@@ -81,7 +81,7 @@ dynare_m-DynareFlex.$(OBJEXT): CXXFLAGS += -Wno-old-style-cast
DynareBison.cc: DynareBison.yy DynareBison.cc: DynareBison.yy
$(YACC) -W -o $@ $< $(YACC) -W -o $@ $<
DynareBison.hh location.hh stack.hh position.hh: DynareBison.cc DynareBison.hh location.hh: DynareBison.cc
all-local: $(PROGRAMS) all-local: $(PROGRAMS)
......
noinst_LIBRARIES = libmacro.a 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 # 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 = \ libmacro_a_SOURCES = \
...@@ -31,4 +31,4 @@ libmacro_a-Tokenizer.$(OBJEXT): CXXFLAGS += -Wno-old-style-cast ...@@ -31,4 +31,4 @@ libmacro_a-Tokenizer.$(OBJEXT): CXXFLAGS += -Wno-old-style-cast
Parser.cc: Parser.yy Parser.cc: Parser.yy
$(YACC) -W -o $@ $< $(YACC) -W -o $@ $<
Parser.hh location.hh stack.hh position.hh: Parser.cc Parser.hh location.hh: Parser.cc
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment