43 lines
1.0 KiB
Makefile
43 lines
1.0 KiB
Makefile
noinst_LIBRARIES = libparser.a
|
|
|
|
GENERATED_FILES = assign_tab.cc csv_tab.cc formula_tab.cc matrix_tab.cc namelist_tab.cc assign_tab.hh csv_tab.hh formula_tab.hh matrix_tab.hh namelist_tab.hh assign_ll.cc csv_ll.cc formula_ll.cc matrix_ll.cc namelist_ll.cc
|
|
|
|
libparser_a_SOURCES = \
|
|
location.hh \
|
|
namelist.hh \
|
|
atom_assignings.cc \
|
|
atom_assignings.hh \
|
|
atom_substitutions.cc \
|
|
atom_substitutions.hh \
|
|
csv_parser.cc \
|
|
csv_parser.hh \
|
|
dynamic_atoms.cc \
|
|
dynamic_atoms.hh \
|
|
fine_atoms.cc \
|
|
fine_atoms.hh \
|
|
formula_parser.cc \
|
|
formula_parser.hh \
|
|
matrix_parser.cc \
|
|
matrix_parser.hh \
|
|
parser_exception.cc \
|
|
parser_exception.hh \
|
|
static_atoms.cc \
|
|
static_atoms.hh \
|
|
static_fine_atoms.cc \
|
|
static_fine_atoms.hh \
|
|
tree.cc \
|
|
tree.hh \
|
|
$(GENERATED_FILES)
|
|
|
|
libparser_a_CPPFLAGS = -I../.. $(BOOST_CPPFLAGS)
|
|
|
|
BUILT_SOURCES = $(GENERATED_FILES)
|
|
|
|
EXTRA_DIST = assign.yy csv.yy formula.yy matrix.yy namelist.yy assign.ll csv.ll formula.ll matrix.ll namelist.ll
|
|
|
|
%_tab.cc %_tab.hh: %.yy
|
|
$(YACC) -d -o$*_tab.cc $<
|
|
|
|
%_ll.cc: %.ll
|
|
$(LEX) -i -o$@ $<
|