Fixed makefile rules for make depend so that it will always run
This commit is contained in:
@ -51,9 +51,7 @@ clean:
|
|||||||
tags:
|
tags:
|
||||||
ctags $(SRCS) $(HDRS)
|
ctags $(SRCS) $(HDRS)
|
||||||
|
|
||||||
depend: depend.mk
|
depend:
|
||||||
|
|
||||||
depend.mk: $(SRCS)
|
|
||||||
@rm -f depend.mk
|
@rm -f depend.mk
|
||||||
cc -M $(CFLAGS) $(SRCS) > depend.mk
|
cc -M $(CFLAGS) $(SRCS) > depend.mk
|
||||||
|
|
||||||
|
@ -56,9 +56,7 @@ tags:
|
|||||||
install: $(MODULES)
|
install: $(MODULES)
|
||||||
install -D $< $(DEST)/gateway/modules
|
install -D $< $(DEST)/gateway/modules
|
||||||
|
|
||||||
depend: depend.mk
|
depend:
|
||||||
|
|
||||||
depend.mk: $(SRCS)
|
|
||||||
rm -f depend.mk
|
rm -f depend.mk
|
||||||
cc -M $(CFLAGS) $(SRCS) > depend.mk
|
cc -M $(CFLAGS) $(SRCS) > depend.mk
|
||||||
|
|
||||||
|
@ -52,9 +52,7 @@ clean:
|
|||||||
tags:
|
tags:
|
||||||
ctags $(SRCS) $(HDRS)
|
ctags $(SRCS) $(HDRS)
|
||||||
|
|
||||||
depend: depend.mk
|
depend:
|
||||||
|
|
||||||
depend.mk: $(SRCS)
|
|
||||||
@rm -f depend.mk
|
@rm -f depend.mk
|
||||||
cc -M $(CFLAGS) $(SRCS) > depend.mk
|
cc -M $(CFLAGS) $(SRCS) > depend.mk
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user