summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorrusty <rusty>2000-11-07 04:08:34 +0000
committerrusty <rusty>2000-11-07 04:08:34 +0000
commit16968123eaac140cfcbbd18f9eff556fdaa8320a (patch)
tree75ed49f394a0d7a1c1b4d4a194b867a4495a7d6c /Makefile
parentebd92d7c51795916486cfb754de76d5cacd1814d (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 ade83b8..868c23b 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.