Added support for conditional compilation of thermo directory.
This commit is contained in:
parent
85713b3c1f
commit
08f2c4e098
1 changed files with 3 additions and 4 deletions
|
|
@ -126,7 +126,7 @@ thermo: $(THERMO)
|
||||||
done)
|
done)
|
||||||
|
|
||||||
cathermo:
|
cathermo:
|
||||||
ifeq (@COMPILE_CATHERMO@, 1)
|
ifeq (@NEED_CATHERMO@, 1)
|
||||||
cd thermo; @MAKE@ all
|
cd thermo; @MAKE@ all
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
@ -205,7 +205,7 @@ ifeq ($(do_ranlib),1)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(RM) *.o *.gch *~ $(CANTERA_LIB)
|
$(RM) *.o *.gch *~ $(CANTERA_LIB) *.d
|
||||||
@(for lh in $(ALL_H) ; do \
|
@(for lh in $(ALL_H) ; do \
|
||||||
th=$(INCDIR)/$$lh ; \
|
th=$(INCDIR)/$$lh ; \
|
||||||
if test -f $$th ; then \
|
if test -f $$th ; then \
|
||||||
|
|
@ -226,14 +226,13 @@ endif
|
||||||
|
|
||||||
depends: $(DEPENDS)
|
depends: $(DEPENDS)
|
||||||
cat *.d > .depends
|
cat *.d > .depends
|
||||||
$(RM) $(DEPENDS)
|
|
||||||
cd oneD; @MAKE@ depends
|
cd oneD; @MAKE@ depends
|
||||||
ifeq (@WITH_REACTORS@, 1)
|
ifeq (@WITH_REACTORS@, 1)
|
||||||
cd zeroD; @MAKE@ depends
|
cd zeroD; @MAKE@ depends
|
||||||
endif
|
endif
|
||||||
cd converters; @MAKE@ depends
|
cd converters; @MAKE@ depends
|
||||||
cd transport; @MAKE@ depends
|
cd transport; @MAKE@ depends
|
||||||
ifeq (@COMPILE_CATHERMO@, 1)
|
ifeq (@NEED_CATHERMO@, 1)
|
||||||
cd thermo; @MAKE@ depends
|
cd thermo; @MAKE@ depends
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue