aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2007-10-15 16:44:31 +0000
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2007-10-15 16:44:31 +0000
commit74a7b9f1644c250b68414427ea6f037aae86b0bc (patch)
treeb26932af780203d6402c6c7cdb73d06c148aff02 /tools
parent16dc26072aaeaa63bad7d53ab54351bace8bb557 (diff)
Fix Windows maintainer-clean/distclean/clean to recurse thru subdirs only once (instead of worst-case 1+2+3 times)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23187 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile.nmake14
1 files changed, 10 insertions, 4 deletions
diff --git a/tools/Makefile.nmake b/tools/Makefile.nmake
index ef560e92b0..243f26f764 100644
--- a/tools/Makefile.nmake
+++ b/tools/Makefile.nmake
@@ -5,18 +5,24 @@
all: lemon
-clean:
+clean-local:
+ rm -f *.pyc
+
+clean: clean-local
cd lemon
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
- rm -f *.pyc
cd ..
-distclean: clean
+distclean-local: clean-local
+
+distclean: distclean-local
cd lemon
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake distclean
cd ..
-maintainer-clean: distclean
+maintainer-clean-local: distclean-local
+
+maintainer-clean: maintainer-clean-local
cd lemon
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake maintainer-clean
cd ..