Makefile.am 1.09 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
bin_PROGRAMS = dynare++

GENERATED_FILES = dynglob_ll.cc dynglob_tab.cc dynglob_tab.hh

dynare___SOURCES = \
	main.cpp \
	dynare3.cpp \
	dynare_atoms.h \
	dynare_model.h \
	forw_subst_builder.h \
	planner_builder.cpp \
	dynare3.h \
	dynare_exception.h \
	dynare_params.cpp \
	planner_builder.h \
	dynare_atoms.cpp \
	dynare_model.cpp \
	dynare_params.h \
	forw_subst_builder.cpp \
sebastien's avatar
sebastien committed
20
21
	nlsolve.cpp \
	nlsolve.h \
22
23
	$(GENERATED_FILES)

24
25
dynare___CPPFLAGS = -I../sylv/cc -I../tl/cc -I../kord -I../integ/cc -I.. -I$(top_srcdir)/mex/sources -DDYNVERSION=\"$(PACKAGE_VERSION)\" $(BOOST_CPPFLAGS)
dynare___LDFLAGS = $(BOOST_LDFLAGS)
26
dynare___LDADD = ../kord/libkord.a ../integ/cc/libinteg.a ../tl/cc/libtl.a ../parser/cc/libparser.a ../utils/cc/libutils.a ../sylv/cc/libsylv.a $(noinst_LIBRARIES) $(LAPACK_LIBS) $(BLAS_LIBS) $(LIBS) $(FLIBS) $(PTHREAD_LIBS) $(LIBADD_MATIO)
27
28
29
30
31
32
33
34
35
36
dynare___CXXFLAGS = $(PTHREAD_CFLAGS)

BUILT_SOURCES = $(GENERATED_FILES)
EXTRA_DIST = dynglob.lex dynglob.y

dynglob_tab.cc dynglob_tab.hh: dynglob.y
	$(YACC) -d -odynglob_tab.cc dynglob.y

dynglob_ll.cc: dynglob.lex
	$(LEX) -i -odynglob_ll.cc dynglob.lex