comparison src/Make_mvc.mak @ 268:8e3c690f1f3c

updated for version 7.0072
author vimboss
date Wed, 18 May 2005 22:10:28 +0000
parents 01e77186b20a
children 03b3684919e3
comparison
equal deleted inserted replaced
267:ca33bc409682 268:8e3c690f1f3c
294 !else # MAXSPEED 294 !else # MAXSPEED
295 OPTFLAG = /Ox 295 OPTFLAG = /Ox
296 !endif 296 !endif
297 CFLAGS = $(CFLAGS) $(OPTFLAG) -DNDEBUG $(CPUARG) 297 CFLAGS = $(CFLAGS) $(OPTFLAG) -DNDEBUG $(CPUARG)
298 RCFLAGS = $(rcflags) $(rcvars) -DNDEBUG 298 RCFLAGS = $(rcflags) $(rcvars) -DNDEBUG
299 PDB =
300 LINK_PDB =
301 ! ifdef USE_MSVCRT 299 ! ifdef USE_MSVCRT
302 CFLAGS = $(CFLAGS) -MD 300 CFLAGS = $(CFLAGS) -MD
303 LIBC = msvcrt.lib 301 LIBC = msvcrt.lib
304 ! elseif defined(MULTITHREADED) 302 ! elseif defined(MULTITHREADED)
305 LIBC = libcmt.lib 303 LIBC = libcmt.lib
306 ! else 304 ! else
307 LIBC = libc.lib 305 LIBC = libc.lib
308 ! endif 306 ! endif
309 !else # DEBUG 307 !else # DEBUG
310 VIM = vimd 308 VIM = vimd
311 # MSVC 4.1 309 CFLAGS = $(CFLAGS) -D_DEBUG -DDEBUG /Od
312 PDB = /Fd$(OUTDIR)/
313 LINK_PDB = /PDB:$(OUTDIR)/
314 # MSVC 2.2
315 # PDB = /Fd$(OUTDIR)/vim.pdb
316 # LINK_PDB = /PDB:$(OUTDIR)/vim.pdb
317 CFLAGS = $(CFLAGS) -D_DEBUG -DDEBUG /Zi /Od
318 RCFLAGS = $(rcflags) $(rcvars) -D_DEBUG -DDEBUG 310 RCFLAGS = $(rcflags) $(rcvars) -D_DEBUG -DDEBUG
319 # The /fixed:no is needed for Quantify. Assume not 4.? as unsupported in VC4.0. 311 # The /fixed:no is needed for Quantify. Assume not 4.? as unsupported in VC4.0.
320 ! if "$(_NMAKE_VER)" == "" 312 ! if "$(_NMAKE_VER)" == ""
321 LIBC = 313 LIBC =
322 ! else 314 ! else
618 FEATURES = BIG 610 FEATURES = BIG
619 !endif 611 !endif
620 CFLAGS = $(CFLAGS) -DFEAT_$(FEATURES) 612 CFLAGS = $(CFLAGS) -DFEAT_$(FEATURES)
621 613
622 # 614 #
623 # End extra featuare include 615 # Always generate the .pdb file, so that we get debug symbols that can be used
616 # on a crash (doesn't add overhead to the executable).
617 #
618 CFLAGS = $(CFLAGS) /Zi
619 PDB = /Fd$(OUTDIR)/
620 LINK_PDB = /PDB:$(OUTDIR)/$(VIM).pdb -debug:full -debugtype:cv,fixup
621
622 #
623 # End extra feature include
624 # 624 #
625 !message 625 !message
626 626
627 conflags = /nologo /subsystem:$(SUBSYSTEM) /incremental:no 627 conflags = /nologo /subsystem:$(SUBSYSTEM) /incremental:no
628 628