Added support for conditional compilation of thermo directory.

This commit is contained in:
Harry Moffat 2006-06-13 16:05:43 +00:00
parent 85713b3c1f
commit 08f2c4e098

View file

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