diff options
Diffstat (limited to 'src/depend.mk')
-rw-r--r-- | src/depend.mk | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/depend.mk b/src/depend.mk index 5b2da6d2..a4d717ae 100644 --- a/src/depend.mk +++ b/src/depend.mk @@ -1,10 +1,11 @@ # This only works for make implementations that always include a .depend if # it exists. Only GNU make does not do this. -.depend: ${SCRIPTS} ${SRCS} - $(CC) $(CFLAGS) -MM ${SRCS} > .depend +# Copyright 2008 Roy Marples <roy@marples.name> -depend: .depend +CLEANFILES+= .depend + +.depend: ${SRCS} + ${CC} ${CFLAGS} -MM ${SRCS} > .depend -clean-depend: - rm -f .depend +depend: .depend |