Added .depends to the make all rule.

This commit is contained in:
Harry Moffat 2007-12-19 17:00:13 +00:00
parent 2e20b990c6
commit 696c9bcd39

View file

@ -94,7 +94,7 @@ DEPENDS=$(OBJS:.o=.d)
PROGRAM = $(PROG_NAME)$(EXE_EXT)
# all rule makes a single program
all: $(PROGRAM)
all: .depends $(PROGRAM)
# Rule to make the program
$(PROGRAM): $(OBJS) $(CANTERA_LIB_DEPS) $(CANTERA_LAPACK_DEPS)