cantera/samples/cxx/Makefile.am
Ray Speth 2528df0f75 Reorganized source tree structure
These changes make it unnecessary to copy header files around during
the build process, which tends to confuse IDEs and debuggers. The
headers which comprise Cantera's external C++ interface are now in
the 'include' directory.

All of the samples and demos are now in the 'samples' subdirectory.
2012-02-12 02:27:14 +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)