Fixed makefile rules for make depend so that it will always run

This commit is contained in:
Mark Riddoch 2013-06-27 12:44:45 +02:00
parent c48b2477e3
commit ce8de5a5e4
3 changed files with 3 additions and 9 deletions

View File

@ -51,9 +51,7 @@ clean:
tags:
ctags $(SRCS) $(HDRS)
depend: depend.mk
depend.mk: $(SRCS)
depend:
@rm -f depend.mk
cc -M $(CFLAGS) $(SRCS) > depend.mk

View File

@ -56,9 +56,7 @@ tags:
install: $(MODULES)
install -D $< $(DEST)/gateway/modules
depend: depend.mk
depend.mk: $(SRCS)
depend:
rm -f depend.mk
cc -M $(CFLAGS) $(SRCS) > depend.mk

View File

@ -52,9 +52,7 @@ clean:
tags:
ctags $(SRCS) $(HDRS)
depend: depend.mk
depend.mk: $(SRCS)
depend:
@rm -f depend.mk
cc -M $(CFLAGS) $(SRCS) > depend.mk