Added dependencies.
This commit is contained in:
parent
66a7fcc92d
commit
0376572acb
1 changed files with 3 additions and 1 deletions
|
|
@ -92,13 +92,15 @@ DEPENDS=$(OBJS:.o=.d)
|
|||
# Program Name
|
||||
PROGRAM = $(PROG_NAME)$(EXE_EXT)
|
||||
|
||||
all: $(PROGRAM)
|
||||
all: $(PROGRAM) .depends
|
||||
|
||||
$(PROGRAM): $(OBJS) $(CANTERA_LIBS_DEP)
|
||||
$(CXX) -o $(PROGRAM) $(OBJS) $(LCXX_FLAGS) $(LINK_OPTIONS) \
|
||||
$(CANTERA_LIBS) @LIBS@ $(FORT_LIBS) \
|
||||
$(LCXX_END_LIBS)
|
||||
|
||||
$(OBJS): Makefile
|
||||
|
||||
#
|
||||
# depends target -> forces recalculation of dependencies
|
||||
depends:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue