# HG changeset patch # User Guido Berhoerster # Date 1319094412 -7200 # Node ID c7eac2574c760991d0f395533445f3d63ef1dc90 # Parent 64f05992d8ec89696eaa979475b2b2ea658b08ac add clobber target diff -r 64f05992d8ec -r c7eac2574c76 Makefile --- 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))