From a470f33a3d847d28daa6c7b52463c2889bab0b78 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Tue, 7 Nov 2000 04:08:34 +0000 Subject: Allow patch-o-matic/ as a target (convenient for tab-completion) Erase .*~ files as well. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ade83b86..868c23be 100644 --- a/Makefile +++ b/Makefile @@ -93,10 +93,10 @@ iptables-standalone.d iptables.d: %.d: %.c @-$(CC) -M -MG $(CFLAGS) $< | sed -e 's@^.*\.o:@$*.d $*.o:@' > $@ distclean: clean - @rm -f TAGS `find . -name '*~'` `find . -name '*.rej'` `find . -name '*.d'` .makefirst + @rm -f TAGS `find . -name '*~' -o -name '.*~'` `find . -name '*.rej'` `find . -name '*.d'` .makefirst .PHONY: patch-o-matic -patch-o-matic: +patch-o-matic/ patch-o-matic: @cd $@ && KERNEL_DIR=$(KERNEL_DIR) ./runme # Rusty's distro magic. -- cgit v1.2.3