From fe3d4ce758822d65a0a5d617b7b77df2dbc972d8 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Sun, 16 Mar 2014 14:55:57 -0700 Subject: Implement new magic frontend using sexpr --- Makefile.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile.in') diff --git a/Makefile.in b/Makefile.in index 9871843..6321489 100644 --- a/Makefile.in +++ b/Makefile.in @@ -169,6 +169,7 @@ GEN_SOURCES := \ $(patsubst %.lpp,%.cpp,${LEXERS}) \ $(patsubst %.ypp,%.cpp,${PARSERS}) GEN_HEADERS := \ + $(patsubst %.lpp,%.hpp,${LEXERS}) \ $(patsubst %.ypp,%.hpp,${PARSERS}) REAL_SOURCES := $(shell cd ${SRC_DIR}; find src/ -name '*.cpp') REAL_HEADERS := $(shell cd ${SRC_DIR}; find src/ -name '*.hpp' -o -name '*.tcc') @@ -287,9 +288,9 @@ distclean: clean gen-clean gen-clean: $c rm -f ${GEN_SOURCES} ${GEN_HEADERS} -%.cpp: %.lpp +%.cpp %.hpp: %.lpp $(MKDIR_FIRST) - $c ${FLEX} -o $@ $< + $c ${FLEX} --header-file=$*.hpp -o $*.cpp $< %.cpp %.hpp: %.ypp $(MKDIR_FIRST) $c ${BISON} --defines=$*.hpp -o $*.cpp $< -- cgit v1.2.3-60-g2f50