UPdated the Makefile

This commit is contained in:
Harry Moffat 2009-03-14 01:50:29 +00:00
parent f12cd0e367
commit d0ad0cc4cb

View file

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