aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 9b577cac..f8b7bce3 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -154,7 +154,7 @@ clean:
rm -f *.o *~ *.core *.so
-include .depend
-.depend:
+.depend: $(wildcard *.c *.h)
$(CC) $(CPPFLAGS) -MM *.c > .depend
.PHONY: all clean install links