summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorRusty Russell <rusty@linuxcare.com.au>2000-11-07 04:08:34 +0000
committerRusty Russell <rusty@rustcorp.com.au>2000-11-07 04:08:34 +0000
commita470f33a3d847d28daa6c7b52463c2889bab0b78 (patch)
tree75ed49f394a0d7a1c1b4d4a194b867a4495a7d6c /Makefile
parent89463253226292b07dbc2513572517005450164f (diff)
Allow patch-o-matic/ as a target (convenient for tab-completion)
Erase .*~ files as well.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
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.