aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.nmake
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-09-10 08:28:14 +0000
committerGuy Harris <guy@alum.mit.edu>2002-09-10 08:28:14 +0000
commit15e93136d1e2bce802bf7c2f2661250be2d8f8ca (patch)
tree16ef9846afea9bf6f35feaa5c8ca636680a51bf8 /Makefile.nmake
parentaffdea981513b5624e4b2704b67292a269e03479 (diff)
downloadwireshark-15e93136d1e2bce802bf7c2f2661250be2d8f8ca.tar.gz
wireshark-15e93136d1e2bce802bf7c2f2661250be2d8f8ca.tar.bz2
wireshark-15e93136d1e2bce802bf7c2f2661250be2d8f8ca.zip
From Ulf Lamping: add a "distclean" rule to get rid of all generated
files, and have it get rid of "x11-declarations.h" and "x11-register-info.h". Also, don't delete "packet-ncp2222.c" with "make clean", just with "make distclean", and get rid of a duplicate "register.c" in the list of files removed by "make clean". svn path=/trunk/; revision=6244
Diffstat (limited to 'Makefile.nmake')
-rw-r--r--Makefile.nmake9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile.nmake b/Makefile.nmake
index ca4bf77bd0..c30a746a10 100644
--- a/Makefile.nmake
+++ b/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.208 2002/09/06 22:45:40 sahlberg Exp $
+# $Id: Makefile.nmake,v 1.209 2002/09/10 08:28:14 guy Exp $
include config.nmake
include <win32.mak>
@@ -463,7 +463,7 @@ clean:
rm -f $(ethereal_OBJECTS) $(EXTRA_OBJECTS) $(EXECUTABLES) $(PDB_FILE) \
tethereal.obj editcap.obj mergecap.obj text2pcap.obj \
text2pcap-scanner.obj text2pcap-scanner.c register.c \
- rdps.obj rdps.pdb config.h ps.c packet-ncp2222.c register.c \
+ rdps.obj rdps.pdb config.h ps.c \
rdps.exe rdps.ilk dftest.obj dftest.exe $(RESOURCES)
cd wiretap
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
@@ -483,6 +483,11 @@ clean:
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
cd ../..
+# Call distclean only, if you would like to remove ALL generated files.
+# Be sure to have python and perl installed to regenerate them.
+distclean: clean
+ rm -f x11-declarations.h x11-register-info.h packet-ncp2222.c
+
tools::
cd tools
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake