mirror of
https://github.com/Cantera/cantera.git
synced 2025-02-25 18:55:29 -06:00
Added dependencies
This commit is contained in:
@@ -69,7 +69,7 @@ DEPENDS=$(OBJS:.o=.d)
|
||||
PROGRAM = $(PROG_NAME)$(EXE_EXT)
|
||||
|
||||
# all rule makes a single program
|
||||
all: $(PROGRAM)
|
||||
all: $(PROGRAM) .depends
|
||||
|
||||
# Rule to make the program
|
||||
$(PROGRAM): $(OBJS) $(CANTERA_LIBDIR)/libctbase.a
|
||||
@@ -79,6 +79,7 @@ $(PROGRAM): $(OBJS) $(CANTERA_LIBDIR)/libctbase.a
|
||||
|
||||
# Add an additional target for stability:
|
||||
$(OBJS): $(CANTERA_LIBDIR)/libctbase.a $(CANTERA_LIBDIR)/libthermo.a
|
||||
$(OBJS): Makefile
|
||||
|
||||
# depends target
|
||||
depends:
|
||||
|
||||
Reference in New Issue
Block a user