Added logic for including the thermo directory into the main

compilation step.
This commit is contained in:
Harry Moffat 2005-10-20 23:29:00 +00:00
parent 0f446fa2b8
commit 5aa7faf300

View file

@ -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