diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-04-13 13:20:26 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-04-13 13:20:26 +0000 |
commit | 2ea37cdae3ccd57d85f8ca597a5286b90e58dd6e (patch) | |
tree | 942759ee87a55a81a7c3eb2960c68607ea10c6ef /src/Makefile | |
parent | 2348f115c0a4cf70e3b1eec5520fa0f47634ef8c (diff) |
add .depend / .PHONY support
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile index 900dd555..9b577cac 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 |