Makefile: fix makedepend rule.
This commit is contained in:
parent
de54a267f3
commit
0367019e60
6
Makefile
6
Makefile
|
@ -58,7 +58,7 @@ OBJS:=$(SRCS:.C=.o)
|
|||
.PHONEY: all clean install dist valgrind config
|
||||
|
||||
clean:
|
||||
rm -f non-sequencer makedepend $(OBJS)
|
||||
rm -f non-sequencer .deps $(OBJS)
|
||||
@ echo "$(DONE)"
|
||||
|
||||
valgrind:
|
||||
|
@ -111,6 +111,6 @@ TAGS: $(SRCS)
|
|||
|
||||
.deps: .config $(SRCS)
|
||||
@ echo -n Calculating dependencies...
|
||||
@ makedepend -f- -- $(CXXFLAGS) $(INCLUDES) -- $(SRCS) > makedepend 2>/dev/null && echo $(DONE)
|
||||
@ makedepend -f- -- $(CXXFLAGS) $(INCLUDES) -- $(SRCS) > .deps 2>/dev/null && echo $(DONE)
|
||||
|
||||
-include makedepend
|
||||
-include .deps
|
||||
|
|
Loading…
Reference in New Issue