cantera/test_problems/Makefile.in
Harry Moffat 9029f8b979 Fixed the Make clean rule. Have to eliminate .depends before make is
called, because the rule to 'make .depends' was being called on invocation
if .depends exists.
2007-05-06 17:15:53 +00:00

107 lines
2.9 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; $(RM) .depends ; @MAKE@ clean
cd surfkin; $(RM) .depends ; @MAKE@ clean
cd fracCoeff; $(RM) .depends ; @MAKE@ clean
cd negATest; $(RM) .depends ; @MAKE@ clean
cd diamondSurf; $(RM) .depends ; @MAKE@ clean
cd ChemEquil_gri_matrix; $(RM) .depends ; @MAKE@ clean
cd ChemEquil_gri_pairs; $(RM) .depends ; @MAKE@ clean
cd ChemEquil_ionizedGas; $(RM) .depends ; @MAKE@ clean
cd ChemEquil_red1; $(RM) .depends ; @MAKE@ clean
cd pureFluidTest; $(RM) .depends ; @MAKE@ clean
cd ck2cti_test; $(RM) .depends ; @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