cantera/examples/cxx/Makefile.am
2012-02-06 21:07:43 +00:00

24 lines
972 B
Makefile

h_sources = example_utils.h
cc_sources = examples.cpp kinetics_example1.cpp kinetics_example2.cpp \
kinetics_example3.cpp equil_example1.cpp \
transport_example1.cpp transport_example2.cpp \
rxnpath_example1.cpp
LINK = -lctcxx -luser -loneD -lzeroD -lequil -lkinetics -ltransport -lthermo
LINK += -lctnumerics -lctmath -ltpx -lctspectra -lconverters -lctbase -lcvode
LINK += -lctlapack -lctblas -lctf2c -lm -lstdc++
LIBS = -L$(top_builddir)/build/lib/ $(LINK)
AM_CPPFLAGS = -I. -I$(top_builddir)/build/include/
AM_CXXFLAGS = $(AM_CPPFLAGS)
bin_PROGRAMS = cxx_examples
library_includedir = $(includedir) -I$(top_builddir)/build/include/
#-----------------------
# Cantera cxx examples
#-----------------------
cxx_examples_LDFLAGS = $(all_libraries) -release $(GENERIC_RELEASE)
cxx_examples_SOURCES = $(cc_sources) $(h_sources)