Added logic for including the thermo directory into the main
compilation step.
This commit is contained in:
parent
0f446fa2b8
commit
5aa7faf300
1 changed files with 10 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue