cantera/test_problems/Makefile.in
Harry Moffat a15b30e7ba Fixed an error in the test suite. Changed some files around in
caThermo so that requesting the ideal solution option but
not the electrochemistry option will now pass the test suite.
2007-04-17 21:10:14 +00:00

107 lines
2.6 KiB
Makefile

#
# $Revision$
# $Author$
# $Date$
#
#
test_python=@BUILD_PYTHON@
test_ck=@BUILD_CK@
test_cathermo=@NEED_CATHERMO@
test_pure_fluids=@COMPILE_PURE_FLUIDS@
all:
cd cxx_ex; @MAKE@ all
cd surfkin; @MAKE@ all
cd fracCoeff; @MAKE@ all
cd negATest; @MAKE@ all
cd diamondSurf; @MAKE@ all
cd ChemEquil_gri_matrix; @MAKE@ all
cd ChemEquil_gri_pairs; @MAKE@ all
cd ChemEquil_ionizedGas; @MAKE@ all
cd ChemEquil_red1; @MAKE@ all
ifeq ($(test_pure_fluids),1)
cd pureFluidTest; @MAKE@ all
endif
ifeq ($(test_python),1)
cd min_python; @MAKE@ all
endif
ifeq ($(test_python),2)
cd min_python; @MAKE@ all
endif
ifeq ($(test_ck),1)
cd ck2cti_test; @MAKE@ all
endif
ifeq ($(test_cathermo),1)
cd cathermo; @MAKE@ all
endif
test:
@ cd cxx_ex; @MAKE@ -s test
@ cd surfkin; @MAKE@ -s test
@ cd fracCoeff; @MAKE@ -s test
@ cd negATest; @MAKE@ -s test
@ cd diamondSurf; @MAKE@ -s test
@ cd ChemEquil_gri_matrix; @MAKE@ -s test
@ cd ChemEquil_gri_pairs; @MAKE@ -s test
@ cd ChemEquil_ionizedGas; @MAKE@ -s test
@ cd ChemEquil_red1; @MAKE@ -s test
ifeq ($(test_cathermo),1)
@ cd pureFluidTest; @MAKE@ -s test
endif
ifeq ($(test_ck),1)
@ cd ck2cti_test; @MAKE@ -s test
endif
ifeq ($(test_python),1)
cd min_python; @MAKE@ -s test
endif
ifeq ($(test_python),2)
cd min_python; @MAKE@ -s test
cd python; @MAKE@ -s test
endif
ifeq ($(test_cathermo),1)
cd cathermo; @MAKE@ -s test
endif
clean:
$(RM) *.*~
cd cxx_ex; @MAKE@ clean
cd surfkin; @MAKE@ clean
cd fracCoeff; @MAKE@ clean
cd negATest; @MAKE@ clean
cd diamondSurf; @MAKE@ clean
cd ChemEquil_gri_matrix; @MAKE@ clean
cd ChemEquil_gri_pairs; @MAKE@ clean
cd ChemEquil_ionizedGas; @MAKE@ clean
cd ChemEquil_red1; @MAKE@ clean
cd pureFluidTest; @MAKE@ clean
cd ck2cti_test; @MAKE@ clean
cd min_python; @MAKE@ clean
cd python; @MAKE@ clean
cd cathermo; @MAKE@ clean
depends:
cd cxx_ex; @MAKE@ depends
cd surfkin; @MAKE@ depends
cd fracCoeff; @MAKE@ depends
cd negATest; @MAKE@ depends
cd diamondSurf; @MAKE@ depends
cd ChemEquil_gri_matrix; @MAKE@ depends
cd ChemEquil_gri_pairs; @MAKE@ depends
cd ChemEquil_ionizedGas; @MAKE@ depends
cd ChemEquil_red1; @MAKE@ depends
ifeq ($(test_cathermo),1)
cd pureFluidTest; @MAKE@ depends
endif
ifeq ($(test_ck),1)
cd ck2cti_test; @MAKE@ depends
endif
ifeq ($(test_python),1)
cd min_python; @MAKE@ depends
endif
ifeq ($(test_python),2)
cd min_python; @MAKE@ depends
cd python; @MAKE@ depends
endif
ifeq ($(test_cathermo),1)
cd cathermo; @MAKE@ depends
endif