aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-10-10 21:31:53 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-10-10 21:31:53 +0000
commite616c2a1b41de35d335d3abc44ea6a22e0b0a168 (patch)
tree865029dcf9c7e8004063c95dc45f610149edf0bc /wiretap
parentb08aebcf43d2c344144cc984203138ecd95d99e3 (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". git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8672 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'wiretap')
-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