Added .depends to the Make all rule.
This commit is contained in:
parent
0535ba5982
commit
2e20b990c6
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ DEPENDS=$(OBJS:.o=.d)
|
||||||
PROGRAM = $(PROG_NAME)$(EXE_EXT)
|
PROGRAM = $(PROG_NAME)$(EXE_EXT)
|
||||||
|
|
||||||
# all rule makes a single program
|
# all rule makes a single program
|
||||||
all: $(PROGRAM)
|
all: .depends $(PROGRAM)
|
||||||
|
|
||||||
# Rule to make the program
|
# Rule to make the program
|
||||||
$(PROGRAM): $(OBJS) $(CANTERA_LIBDIR)/libctbase.a
|
$(PROGRAM): $(OBJS) $(CANTERA_LIBDIR)/libctbase.a
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue