Added .depends to all target

This commit is contained in:
Harry Moffat 2007-12-28 01:53:06 +00:00
parent 03efa6dc5f
commit 91ff08255f

View file

@ -77,7 +77,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_LIBDIR)/libctbase.a