aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-04-13 13:21:27 +0000
committerMike Frysinger <vapier@gentoo.org>2007-04-13 13:21:27 +0000
commitcb20c5da98d6e4f8e95c6c4264a5d8faa0234ff7 (patch)
tree3f0e4de83ae75836839508bb178f2cbacbd2324a
parent2ea37cdae3ccd57d85f8ca597a5286b90e58dd6e (diff)
make sure .depend gets regenerated automatically
-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