summaryrefslogtreecommitdiff
path: root/gs/src/msvccmd.mak
diff options
context:
space:
mode:
authorDan Coby <dan.coby@artifex.com>2002-04-11 22:20:14 +0000
committerDan Coby <dan.coby@artifex.com>2002-04-11 22:20:14 +0000
commit69b98dde0f134c238e275e3cdf39b08c41239243 (patch)
treefd36ea1c824eee24e92e46005f80769f0aa66df9 /gs/src/msvccmd.mak
parent72bc0d0b34bd29178632b6ee3fb315f65fc32c9b (diff)
Create a separate WARNOPT parameter for specifying the warning message
level. This allows the message level to be specified from the command line. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@2479 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'gs/src/msvccmd.mak')
-rw-r--r--gs/src/msvccmd.mak4
1 files changed, 3 insertions, 1 deletions
diff --git a/gs/src/msvccmd.mak b/gs/src/msvccmd.mak
index dd03dc77f..e75a4b141 100644
--- a/gs/src/msvccmd.mak
+++ b/gs/src/msvccmd.mak
@@ -157,10 +157,12 @@ COMPILE_FOR_DLL=
COMPILE_FOR_EXE=
COMPILE_FOR_CONSOLE_EXE=
+# Specify warning message level
+WARNOPT=/W2
# The /MT is for multi-threading. We would like to make this an option,
# but it's too much work right now.
-GENOPT=$(CP) $(CD) $(CT) $(CS) /W2 /nologo /MT
+GENOPT=$(CP) $(CD) $(CT) $(CS) $(WARNOPT) /nologo /MT
CCFLAGS=$(PLATOPT) $(FPFLAGS) $(CPFLAGS) $(CFLAGS) $(XCFLAGS)
CC=$(COMP) /c $(CCFLAGS) @$(GLGENDIR)\ccf32.tr