summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index 900dd55..9b577ca 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -152,3 +152,9 @@ install: $(TARGET)
clean:
rm -f $(TARGET) $(RCLINKS) $(RCPRIVLINKS)
rm -f *.o *~ *.core *.so
+
+-include .depend
+.depend:
+ $(CC) $(CPPFLAGS) -MM *.c > .depend
+
+.PHONY: all clean install links