diff options
Diffstat (limited to 'src/depend.mk')
-rw-r--r-- | src/depend.mk | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/depend.mk b/src/depend.mk new file mode 100644 index 00000000..5b2da6d2 --- /dev/null +++ b/src/depend.mk @@ -0,0 +1,10 @@ +# 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 + +depend: .depend + +clean-depend: + rm -f .depend |