diff options
author | Bill Meier <wmeier@newsguy.com> | 2007-10-15 16:44:31 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2007-10-15 16:44:31 +0000 |
commit | 4644ce72634f90e866519faf0a06aca2f7adee12 (patch) | |
tree | b26932af780203d6402c6c7cdb73d06c148aff02 /tools/Makefile.nmake | |
parent | e23dc22c4c48430a787cc1cda85d50d040573592 (diff) |
Fix Windows maintainer-clean/distclean/clean to recurse thru subdirs only once (instead of worst-case 1+2+3 times)
svn path=/trunk/; revision=23187
Diffstat (limited to 'tools/Makefile.nmake')
-rw-r--r-- | tools/Makefile.nmake | 14 |
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 .. |