aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/Makefile.nmake
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-10-10 21:31:53 +0000
committerGuy Harris <guy@alum.mit.edu>2003-10-10 21:31:53 +0000
commit02e1d2680aaa15b86569be90846e95998d703162 (patch)
tree865029dcf9c7e8004063c95dc45f610149edf0bc /wiretap/Makefile.nmake
parent04cd6b60742277df0002b89386696f2ebaa04df2 (diff)
downloadwireshark-02e1d2680aaa15b86569be90846e95998d703162.tar.gz
wireshark-02e1d2680aaa15b86569be90846e95998d703162.tar.bz2
wireshark-02e1d2680aaa15b86569be90846e95998d703162.zip
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 'wiretap/Makefile.nmake')
-rw-r--r--wiretap/Makefile.nmake9
1 files changed, 6 insertions, 3 deletions
diff --git a/wiretap/Makefile.nmake b/wiretap/Makefile.nmake
index 952841fe26..2555798b7d 100644
--- a/wiretap/Makefile.nmake
+++ b/wiretap/Makefile.nmake
@@ -1,5 +1,5 @@
#
-# $Id: Makefile.nmake,v 1.34 2003/08/26 07:10:38 guy Exp $
+# $Id: Makefile.nmake,v 1.35 2003/10/10 21:31:53 guy Exp $
#
include ..\config.nmake
@@ -74,8 +74,11 @@ config.h : config.h.win32
sed -e s/@VERSION@/$(WTAP_VERSION)/ < config.h.win32 > $@
clean :
- rm -f $(OBJECTS) ascend-grammar.c ascend-grammar.h ascend-scanner.c \
+ rm -f $(OBJECTS) \
wiretap-$(WTAP_VERSION).lib \
wiretap-$(WTAP_VERSION).exp \
wiretap-$(WTAP_VERSION).dll \
- config.h $(PDB_FILE)
+ $(PDB_FILE)
+
+distclean: clean
+ rm -f config.h ascend-grammar.c ascend-grammar.h ascend-scanner.c