52 lines
1.2 KiB
Makefile
52 lines
1.2 KiB
Makefile
#/bin/sh
|
|
###############################################################
|
|
# $Author$
|
|
# $Date$
|
|
# $Revision$
|
|
#
|
|
# Copyright 2001 California Institute of Technology
|
|
# See file License.txt for licensing information
|
|
#
|
|
###############################################################
|
|
|
|
build_f90=@BUILD_F90@
|
|
build_python=@BUILD_PYTHON@
|
|
|
|
INCDIR = ../../build/include/cantera
|
|
INSTALL_TSC = ../../../bin/install_tsc
|
|
|
|
CXX_H = Cantera.h equilibrium.h IncompressibleSolid.h \
|
|
kinetics.h onedim.h surface.h GRI30.h integrators.h \
|
|
Metal.h PureFluid.h transport.h Edge.h \
|
|
IdealGasMix.h Interface.h numerics.h \
|
|
reactionpaths.h zerodim.h
|
|
|
|
all:
|
|
@(cd include ; \
|
|
for lh in $(CXX_H) ; do \
|
|
$(INSTALL_TSC) "$${lh}" $(INCDIR) ; \
|
|
done)
|
|
cd src; @MAKE@
|
|
cd demos; @MAKE@
|
|
|
|
clean:
|
|
@(for lh in $(CXX_H) ; do \
|
|
th=$(INCDIR)/"$${lh}" ; \
|
|
if test -f "$${th}" ; then \
|
|
$(RM) "$${th}" ; \
|
|
echo "$(RM) $${th}" ; \
|
|
fi \
|
|
done)
|
|
cd src; @MAKE@ clean
|
|
cd demos; @MAKE@ clean
|
|
|
|
depends:
|
|
cd src; @MAKE@ depends
|
|
cd demos; @MAKE@ depends
|
|
|
|
install:
|
|
cd src; @MAKE@ install
|
|
cd demos; @MAKE@ install
|
|
|
|
# end of file
|
|
|