comparison src/Make_mvc.mak @ 47:eff3887963cc

updated for version 7.0028
author vimboss
date Sun, 02 Jan 2005 11:28:13 +0000
parents 410fa1a31baf
children 60834e43d187
comparison
equal deleted inserted replaced
46:46d39f2eff86 47:eff3887963cc
51 # ICONV=[yes or no] (default is yes) 51 # ICONV=[yes or no] (default is yes)
52 # Intl library support (always dynamically loaded): 52 # Intl library support (always dynamically loaded):
53 # GETTEXT=[yes or no] (default is yes) 53 # GETTEXT=[yes or no] (default is yes)
54 # See http://sourceforge.net/projects/gettext/ 54 # See http://sourceforge.net/projects/gettext/
55 # PostScript printing: POSTSCRIPT=yes (default is no) 55 # PostScript printing: POSTSCRIPT=yes (default is no)
56 # Feature Set: FEATURES=[TINY, SMALL, NORMAL, BIG, or HUGE] (default is BIG) 56 # Feature Set: FEATURES=[TINY, SMALL, NORMAL, BIG, HUGE] (default is BIG)
57 # Version Support: WINVER=[0x0400, 0x0500] (default is 0x0400) 57 # Version Support: WINVER=[0x0400, 0x0500] (default is 0x0400)
58 # Processor Version: CPUNR=[i386, i486, i586, i686] (default is i386) 58 # Processor Version: CPUNR=[i386, i486, i586, i686, P4] (default is i386)
59 # Optimization: OPTIMIZE=[SPACE, SPEED, MAXSPEED] (default is MAXSPEED) 59 # Optimization: OPTIMIZE=[SPACE, SPEED, MAXSPEED] (default is MAXSPEED)
60 # Netbeans Support: NETBEANS=[yes or no] (default is yes if GUI is yes) 60 # Netbeans Support: NETBEANS=[yes or no] (default is yes if GUI is yes)
61 # Netbeans Debugging Support: NBDEBUG=[yes or no] (default is no) 61 # Netbeans Debugging Support: NBDEBUG=[yes or no] (default is no)
62 # XPM Image Support: XPM=[path to XPM directory] 62 # XPM Image Support: XPM=[path to XPM directory]
63 # 63 #
274 CPUARG = /G4 274 CPUARG = /G4
275 !elseif "$(CPUNR)" == "i586" 275 !elseif "$(CPUNR)" == "i586"
276 CPUARG = /G5 276 CPUARG = /G5
277 !elseif "$(CPUNR)" == "i686" 277 !elseif "$(CPUNR)" == "i686"
278 CPUARG = /G6 278 CPUARG = /G6
279 !elseif "$(CPUNR)" == "P4"
280 CPUARG = /G7 /arch:SSE2
279 !else 281 !else
280 CPUARG = 282 CPUARG =
281 !endif 283 !endif
282 284
283 !ifdef NODEBUG 285 !ifdef NODEBUG
287 !elseif "$(OPTIMIZE)" == "SPEED" 289 !elseif "$(OPTIMIZE)" == "SPEED"
288 OPTFLAG = /O2 290 OPTFLAG = /O2
289 !else # MAXSPEED 291 !else # MAXSPEED
290 OPTFLAG = /Ox 292 OPTFLAG = /Ox
291 !endif 293 !endif
292 CFLAGS = $(CFLAGS) $(OPTFLAG) -DNDEBUG /Zi $(CPUARG) 294 CFLAGS = $(CFLAGS) $(OPTFLAG) -DNDEBUG $(CPUARG)
293 RCFLAGS = $(rcflags) $(rcvars) -DNDEBUG 295 RCFLAGS = $(rcflags) $(rcvars) -DNDEBUG
294 PDB = /Fd$(OUTDIR)/ 296 PDB =
295 LINK_PDB = /PDB:$(OUTDIR)/ 297 LINK_PDB =
296 ! ifdef USE_MSVCRT 298 ! ifdef USE_MSVCRT
297 CFLAGS = $(CFLAGS) -MD 299 CFLAGS = $(CFLAGS) -MD
298 LIBC = msvcrt.lib 300 LIBC = msvcrt.lib
299 ! elseif defined(MULTITHREADED) 301 ! elseif defined(MULTITHREADED)
300 LIBC = libcmt.lib 302 LIBC = libcmt.lib
697 test: 699 test:
698 cd testdir 700 cd testdir
699 $(MAKE) /NOLOGO -f Make_dos.mak win32 701 $(MAKE) /NOLOGO -f Make_dos.mak win32
700 cd .. 702 cd ..
701 703
704 testclean:
705 cd testdir
706 $(MAKE) /NOLOGO -f Make_dos.mak clean
707 cd ..
708
702 ########################################################################### 709 ###########################################################################
703 710
704 # Create a default rule for transforming .c files to .obj files in $(OUTDIR) 711 # Create a default rule for transforming .c files to .obj files in $(OUTDIR)
705 # Batch compilation is supported by nmake 1.62 (part of VS 5.0) and later) 712 # Batch compilation is supported by nmake 1.62 (part of VS 5.0) and later)
706 !IF "$(_NMAKE_VER)" == "" 713 !IF "$(_NMAKE_VER)" == ""