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)
|
||||
|
||||
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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue