From d0ad0cc4cb980010799406d688f80be0e7fe8bda Mon Sep 17 00:00:00 2001 From: Harry Moffat Date: Sat, 14 Mar 2009 01:50:29 +0000 Subject: [PATCH] UPdated the Makefile --- test_problems/VPsilane_test/Makefile.in | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/test_problems/VPsilane_test/Makefile.in b/test_problems/VPsilane_test/Makefile.in index 7c76dd050..7c4fefd3c 100644 --- a/test_problems/VPsilane_test/Makefile.in +++ b/test_problems/VPsilane_test/Makefile.in @@ -48,6 +48,9 @@ CANTERA_LIBDIR=@buildlib@ # required Cantera libraries CANTERA_LIBS = @LOCAL_LIBS@ -lctcxx +# Dependencies of the static libraries +CANTERA_LIBS_DEP = @LOCAL_LIBS_DEP@ $(CANTERA_LIBDIR)/libctcxx.a + # the directory where Cantera include files may be found. CANTERA_INCDIR=@ctroot@/build/include/cantera @@ -70,14 +73,14 @@ PROGRAM = $(PROG_NAME)$(EXE_EXT) all: $(PROGRAM) -$(PROGRAM): $(OBJS) $(CANTERA_LIBDIR)/libctbase.a +$(PROGRAM): $(OBJS) $(CANTERA_LIBS_DEP) $(CXX) -o $(PROGRAM) $(OBJS) $(LCXX_FLAGS) $(LINK_OPTIONS) \ $(CANTERA_LIBS) @LIBS@ $(FORT_LIBS) \ $(LCXX_END_LIBS) # Add an additional target for stability: -$(OBJS): $(CANTERA_LIBDIR)/libctbase.a $(CANTERA_LIBDIR)/libthermo.a +$(OBJS): Makefile # depends target -> forces recalculation of dependencies depends: