From 5c08be701120eb3835d1294d538b8e9efd438092 Mon Sep 17 00:00:00 2001 From: Harry Moffat Date: Tue, 1 Jan 2008 19:13:06 +0000 Subject: [PATCH] Added more dependencies --- Cantera/src/kinetics/Makefile.in | 4 +++- Cantera/src/numerics/Makefile.in | 4 +++- Cantera/src/transport/Makefile.in | 8 ++++++-- Cantera/src/zeroD/Makefile.in | 6 ++++-- 4 files changed, 16 insertions(+), 6 deletions(-) diff --git a/Cantera/src/kinetics/Makefile.in b/Cantera/src/kinetics/Makefile.in index 64e8923eb..0780d7318 100644 --- a/Cantera/src/kinetics/Makefile.in +++ b/Cantera/src/kinetics/Makefile.in @@ -75,7 +75,7 @@ all: $(LIB) .depends @(for lh in $(ALLKINETICS_H) ; do \ $(INSTALL_TSC) "$${lh}" $(INCDIR) ; \ done) -%.d: +%.d: Makefile %.o @CXX_DEPENDS@ $(CXX_FLAGS) $(CXX_INCLUDES) $*.cpp > $*.d .cpp.o: @@ -110,6 +110,8 @@ depends: .depends: $(DEPENDS) cat $(DEPENDS) > .depends +$(ALLKINETICS_OBJ): Makefile + TAGS: etags *.h *.cpp diff --git a/Cantera/src/numerics/Makefile.in b/Cantera/src/numerics/Makefile.in index afd68df71..ae634ab73 100644 --- a/Cantera/src/numerics/Makefile.in +++ b/Cantera/src/numerics/Makefile.in @@ -47,7 +47,7 @@ all: .depends $(LIB) @(for lh in $(NUMERICS_H) ; do \ $(INSTALL_TSC) "$${lh}" $(INCDIR) ; \ done) -%.d: +%.d: Makefile %.o @CXX_DEPENDS@ $(CXX_FLAGS) $(CXX_INCLUDES) $*.cpp > $*.d .cpp.o: @@ -95,6 +95,8 @@ depends: .depends: $(DEPENDS) cat $(DEPENDS) > .depends +$(NUMERICS_OBJ): Makefile + TAGS: etags *.h *.cpp diff --git a/Cantera/src/transport/Makefile.in b/Cantera/src/transport/Makefile.in index e92c04729..5b4f590e4 100644 --- a/Cantera/src/transport/Makefile.in +++ b/Cantera/src/transport/Makefile.in @@ -31,12 +31,12 @@ LIB = @buildlib@/libtransport.a DEPENDS = $(OBJS:.o=.d) -all: .depends $(LIB) +all: $(LIB) .depends @(@INSTALL@ -d $(INCDIR)) @(for lh in $(TRAN_H) ; do \ $(INSTALL_TSC) "$${lh}" $(INCDIR) ; \ done) -%.d: +%.d: Makefile %.o @CXX_DEPENDS@ $(CXX_FLAGS) $(CXX_INCLUDES) $*.cpp > $*.d .cpp.o: @@ -71,6 +71,10 @@ depends: .depends: $(DEPENDS) cat *.d > .depends +$(OBJS): Makefile + +$(OBJS): Makefile + TAGS: etags *.h *.cpp diff --git a/Cantera/src/zeroD/Makefile.in b/Cantera/src/zeroD/Makefile.in index bff45804b..9326c035d 100644 --- a/Cantera/src/zeroD/Makefile.in +++ b/Cantera/src/zeroD/Makefile.in @@ -31,13 +31,13 @@ ZEROD_LIB = @buildlib@/libzeroD.a DEPENDS = $(OBJS:.o=.d) -all: .depends $(ZEROD_LIB) +all: $(ZEROD_LIB) .depends @(@INSTALL@ -d $(INCDIR)) @(for lh in $(ZEROD_H) ; do \ $(INSTALL_TSC) "$${lh}" $(INCDIR) ; \ done) -%.d: +%.d: Makefile %.o @CXX_DEPENDS@ @DEFS@ $(CXX_FLAGS) $(CXX_INCLUDES) $*.cpp > $*.d .cpp.o: @@ -72,6 +72,8 @@ depends: .depends: $(DEPENDS) cat *.d > .depends +$(OBJS): Makefile + TAGS: etags *.h *.cpp