diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-10-10 21:31:53 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-10-10 21:31:53 +0000 |
commit | 02e1d2680aaa15b86569be90846e95998d703162 (patch) | |
tree | 865029dcf9c7e8004063c95dc45f610149edf0bc /tools | |
parent | 04cd6b60742277df0002b89386696f2ebaa04df2 (diff) |
Give every Makefile.nmake file a "distclean" rule, and have "distclean"
recurse into subdirectories doing "nmake -f Makefile.nmake distclean".
Have "nmake -f Makefile.nmake clean" not remove stuff that "make clean"
doesn't remove (such as Flex/Bison output and config.h files) - and have
"nmake -f Makefile.nmake distclean" remove stuff that "make distclean"
removes, including "tethereal-tap-register.c" and
"ethereal-tap-register.c".
svn path=/trunk/; revision=8672
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/Makefile.nmake | 6 | ||||
-rw-r--r-- | tools/lemon/Makefile.nmake | 4 |
2 files changed, 7 insertions, 3 deletions
diff --git a/tools/Makefile.nmake b/tools/Makefile.nmake index 6e1585d80a..55055337a0 100755 --- a/tools/Makefile.nmake +++ b/tools/Makefile.nmake @@ -1,15 +1,17 @@ ## Makefile for building ethereal.exe with Microsoft C and nmake ## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake # -# $Id: Makefile.nmake,v 1.3 2002/02/27 09:42:49 guy Exp $ +# $Id: Makefile.nmake,v 1.4 2003/10/10 21:31:53 guy Exp $ all: lemon - clean: cd lemon $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean +distclean: clean + cd lemon + $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake distclean lemon:: cd lemon diff --git a/tools/lemon/Makefile.nmake b/tools/lemon/Makefile.nmake index 2f098dfa93..ed61d9776a 100644 --- a/tools/lemon/Makefile.nmake +++ b/tools/lemon/Makefile.nmake @@ -1,7 +1,7 @@ ## Makefile for building ethereal.exe with Microsoft C and nmake ## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake # -# $Id: Makefile.nmake,v 1.8 2002/02/27 09:42:51 guy Exp $ +# $Id: Makefile.nmake,v 1.9 2003/10/10 21:31:53 guy Exp $ include ..\..\config.nmake @@ -14,3 +14,5 @@ all : lemon.exe clean: rm -f lemon.obj lemon.exe lemon.ilk $(PDB_FILE) lemon.pdb + +distclean: clean |