changeset 15:c7eac2574c76

add clobber target
author Guido Berhoerster <guido@berhoerster.name>
date Thu, 20 Oct 2011 09:06:52 +0200
parents 64f05992d8ec
children 7af115023d5a
files Makefile
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Thu Oct 20 08:19:22 2011 +0200
+++ b/Makefile	Thu Oct 20 09:06:52 2011 +0200
@@ -31,7 +31,7 @@
 
 .DEFAULT_TARGET = all
 
-.PHONY: all clean install
+.PHONY: all clean clobber install
 
 all: $(PACKAGE) $(MOFILES) $(AUTOSTART_FILE)
 
@@ -76,4 +76,7 @@
 clean:
 	rm -f $(PACKAGE) $(OBJS) $(POTFILE) $(MOFILES) $(AUTOSTART_FILE)
 
+clobber: clean
+	rm -f *.P
+
 -include $(patsubst %.o,%.P,$(OBJS))