From 08f2c4e098ea81fa6c455ce766c7d56a399fefd5 Mon Sep 17 00:00:00 2001 From: Harry Moffat Date: Tue, 13 Jun 2006 16:05:43 +0000 Subject: [PATCH] Added support for conditional compilation of thermo directory. --- Cantera/src/Makefile.in | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Cantera/src/Makefile.in b/Cantera/src/Makefile.in index deb6fb116..05a1c4a0a 100755 --- a/Cantera/src/Makefile.in +++ b/Cantera/src/Makefile.in @@ -126,7 +126,7 @@ thermo: $(THERMO) done) cathermo: -ifeq (@COMPILE_CATHERMO@, 1) +ifeq (@NEED_CATHERMO@, 1) cd thermo; @MAKE@ all endif @@ -205,7 +205,7 @@ ifeq ($(do_ranlib),1) endif clean: - $(RM) *.o *.gch *~ $(CANTERA_LIB) + $(RM) *.o *.gch *~ $(CANTERA_LIB) *.d @(for lh in $(ALL_H) ; do \ th=$(INCDIR)/$$lh ; \ if test -f $$th ; then \ @@ -226,14 +226,13 @@ endif depends: $(DEPENDS) cat *.d > .depends - $(RM) $(DEPENDS) cd oneD; @MAKE@ depends ifeq (@WITH_REACTORS@, 1) cd zeroD; @MAKE@ depends endif cd converters; @MAKE@ depends cd transport; @MAKE@ depends -ifeq (@COMPILE_CATHERMO@, 1) +ifeq (@NEED_CATHERMO@, 1) cd thermo; @MAKE@ depends endif