From 5aa7faf30073c052ebc77226180528e729d0a395 Mon Sep 17 00:00:00 2001 From: Harry Moffat Date: Thu, 20 Oct 2005 23:29:00 +0000 Subject: [PATCH] Added logic for including the thermo directory into the main compilation step. --- Cantera/src/Makefile.in | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Cantera/src/Makefile.in b/Cantera/src/Makefile.in index 6a41f0a3f..7e49be887 100755 --- a/Cantera/src/Makefile.in +++ b/Cantera/src/Makefile.in @@ -100,7 +100,7 @@ PCH = PCHGCH = $(PCH:.h=.h.gch) -all: .depends $(PCHGCH) @KERNEL@ $(CANTERA_LIB) +all: .depends $(PCHGCH) @KERNEL@ $(CANTERA_LIB) cathermo %.h.gch : %.h ifeq (@precompile_headers@,yes) @@ -119,6 +119,11 @@ thermo: $(THERMO) $(INSTALL_TSC) "$${lh}" $(INCDIR) ; \ done) +cathermo: +ifeq (@COMPILE_CATHERMO@, 1) + cd thermo; @MAKE@ all +endif + kinetics: $(KINETICS) $(HETEROKIN) @(for lh in $(KINETICS_H) ; do \ $(INSTALL_TSC) "$${lh}" $(INCDIR) ; \ @@ -203,6 +208,7 @@ clean: cd oneD; @MAKE@ clean cd converters; @MAKE@ clean cd transport; @MAKE@ clean + cd thermo; @MAKE@ clean depends: $(DEPENDS) cat *.d > .depends @@ -211,6 +217,9 @@ depends: $(DEPENDS) cd zeroD; @MAKE@ depends cd converters; @MAKE@ depends cd transport; @MAKE@ depends +ifeq (@COMPILE_CATHERMO@, 1) + cd thermo; @MAKE@ depends +endif .depends: $(DEPENDS) Makefile cat *.d > .depends