[cantera]: now headers are only copied if they have been edited
This commit is contained in:
parent
5d1111f7c7
commit
917a43ee21
4 changed files with 6 additions and 7 deletions
|
|
@ -1,7 +1,6 @@
|
|||
# $Id: $
|
||||
|
||||
# need to add CXX_INCLUDES
|
||||
# will need to add python and matlab
|
||||
SUBDIRS = base converters thermo transport oneD zeroD kinetics numerics spectra equil
|
||||
SUBDIRS = numerics base converters thermo transport oneD zeroD kinetics spectra equil
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -27,9 +27,9 @@ __top_builddir__build_lib_libctbase_la_LDFLAGS = $(all_libraries) -release
|
|||
__top_builddir__build_lib_libctbase_la_SOURCES = $(cc_sources) $(h_sources)
|
||||
|
||||
|
||||
# header file accumulation
|
||||
# header file accumulation -- only copy if file updated!
|
||||
all:
|
||||
@echo copying headers $<
|
||||
cp *.h $(top_builddir)/build/include/
|
||||
cp -u *.h $(top_builddir)/build/include/
|
||||
|
||||
CLEANFILES = *.o
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ cc_sources = DenseMatrix.cpp funcs.cpp Func1.cpp ODE_integrators.cpp \
|
|||
BandMatrix.cpp DAE_solvers.cpp sort.cpp CVodeInt.cpp \
|
||||
SquareMatrix.cpp ResidJacEval.cpp NonlinearSolver.cpp
|
||||
|
||||
AM_CPPFLAGS = -I$(top_builddir)/build/include/ -I$(top_builddir)/Cantera/ext/cvode -I$(top_builddir)
|
||||
AM_CPPFLAGS = -I$(top_builddir)/build/include/ -I$(top_builddir)
|
||||
AM_CXXFLAGS = $(AM_CPPFLAGS)
|
||||
|
||||
lib_LTLIBRARIES = $(top_builddir)/build/lib/libctnumerics.la
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ h_sources = State.h Elements.h Constituents.h Phase.h mix_defs.h \
|
|||
VPSSMgr.h VPSSMgrFactory.h VPSSMgr_General.h \
|
||||
VPSSMgr_IdealGas.h VPSSMgr_ConstVol.h PDSS_ConstVol.h \
|
||||
PDSS_IdealGas.h PDSS_SSVol.h DebyeHuckel.h \
|
||||
VPStandardStateTP.h PDSS_Water.h PDSS.h WaterProps.h \
|
||||
VPStandardStateTP.h PDSS_Water.h WaterProps.h \
|
||||
WaterPropsIAPWSphi.h VPSSMgr_Water_HKFT.h PDSS_HKFT.h \
|
||||
PDSS_IonsFromNeutral.h IonsFromNeutralVPSSTP.h \
|
||||
GibbsExcessVPSSTP.h LatticePhase.h IdealMolalSoln.h \
|
||||
|
|
@ -59,4 +59,4 @@ __top_builddir__build_lib_libthermo_la_SOURCES = $(cc_sources) $(h_sources)
|
|||
# header file accumulation
|
||||
all:
|
||||
@echo copying headers $<
|
||||
cp $(h_sources) $(top_builddir)/build/include/
|
||||
cp *.h $(top_builddir)/build/include/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue