aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lemon
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-02-27 09:42:52 +0000
committerGuy Harris <guy@alum.mit.edu>2002-02-27 09:42:52 +0000
commitb4971b39bf3df9edcdd6778c37cf667bd437cf92 (patch)
tree7d61dda2c3a822cfc6971bd47bf643aaf6b79427 /tools/lemon
parentcbf5c537c4e0ad18f3363815c89e71511a3d3fd7 (diff)
From Joerg Mayer:
In the "configure.in" files, add -D_U_="__attribute__((unused))" to CFLAGS if we're using GCC, and add -D_U_="" otherwise, so _U_ can be used to mark arguments as unused. Add -D_U_="" arguments to the Makefile.nmake files as well, so _U_ works with Microsoft Visual C++ as well. Add comments and RCS IDs to the Makefile.nmake files that don't already have them. svn path=/trunk/; revision=4824
Diffstat (limited to 'tools/lemon')
-rw-r--r--tools/lemon/Makefile.nmake6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/lemon/Makefile.nmake b/tools/lemon/Makefile.nmake
index a98eba4fd9..2f098dfa93 100644
--- a/tools/lemon/Makefile.nmake
+++ b/tools/lemon/Makefile.nmake
@@ -1,7 +1,11 @@
+## 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 $
include ..\..\config.nmake
-CFLAGS=$(LOCAL_CFLAGS)
+CFLAGS=-D_U_="" $(LOCAL_CFLAGS)
.c.obj::
$(CC) $(CFLAGS) -Fd.\ -c $<