aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.nmake.inc
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2007-08-01 22:20:38 +0000
committerGuy Harris <guy@alum.mit.edu>2007-08-01 22:20:38 +0000
commit46be54cee365d7626fa16f2ff428119165aba66a (patch)
tree1c21e821cf31310a336de85d7b5142e76974cffe /Makefile.nmake.inc
parent159e795100392ff9b7842c6296bb82a780c2bf60 (diff)
Add a Makefile.nmake.inc file, to hold rules etc. used by multiple
Makefile.nmake files; currently, it has the (F)lex-to-C rule and a .SUFFIXES pseudo-rule to add .l to the list of suffixes. Have Makefile.nmake files with .l.c rules include Makefile.nmake.inc to get that rule. The names Makefile.am.inc and Makefile.nmake.inc aren't necessarily the right names for the files in question. Use $(PACKAGE) in the Mate plugin's Makefile, rather than "mate". svn path=/trunk/; revision=22437
Diffstat (limited to 'Makefile.nmake.inc')
-rw-r--r--Makefile.nmake.inc27
1 files changed, 27 insertions, 0 deletions
diff --git a/Makefile.nmake.inc b/Makefile.nmake.inc
new file mode 100644
index 0000000000..8dc5e2ef0a
--- /dev/null
+++ b/Makefile.nmake.inc
@@ -0,0 +1,27 @@
+# Makefile.nmake.inc
+# Include file for Makefile.am files to get additional rules
+#
+# $Id$
+#
+# Wireshark - Network traffic analyzer
+# By Gerald Combs <gerald@wireshark.org>
+# Copyright 2007 Gerald Combs
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+.SUFFIXES: .l
+
+.l.c:
+ $(LEX) -o$@ $<