|
|
1.1 root 1: # Win32 NMAKE definitions
2:
3:
4: !IF "$(CPU)" == "i386"
5:
6: # Debug switches are default for current release
7: #
8: # These switches allow for source level debugging
9: # with NTSD for local and global variables.
10:
11:
12: CPUTYPE=1
1.1.1.2 ! root 13: cdebug = -Zi -Od
1.1 root 14:
15: cc = cl386
1.1.1.2 ! root 16: cflags = -c -G3d -W3 -Di386=1 $(cdebug)
! 17: cvtobj = REM MIPS-only conversion:
! 18: cvtdebug =
1.1 root 19:
20: !ENDIF
21:
22: !IF "$(CPU)" == "MIPS"
23: #declarations for use on self hosted MIPS box.
24:
25: CPUTYPE=2
26: cc = cc
27: cflags = -c -std -G0 -O -o $(*B).obj -EL -DMIPS=1
1.1.1.2 ! root 28: cvtobj = mip2coff
! 29: cvtdebug =
1.1 root 30: !ENDIF
31:
32: !IFNDEF CPUTYPE
33: !ERROR Must specify CPU Environment Variable (i386 or MIPS )
34: !ENDIF
35:
36:
37: #Universal declaration
38:
39: cvars = -DWIN32
1.1.1.2 ! root 40: linkdebug = -debug:full -debugtype:cv
1.1 root 41: link = link $(linkdebug)
42:
43: # link flags - must be specified after $(link)
44: #
45: # conflags : creating a character based console application
46: # guiflags : creating a GUI based "Windows" application
47:
48: conflags = -subsystem:console -entry:mainCRTStartup
49: guiflags = -subsystem:windows -entry:WinMainCRTStartup
50:
51: # Link libraries - system import and C runtime libraries
52: #
53: # conlibs : libraries to link with for a console application
54: # guilibs : libraries to link with for a "Windows" application
55: #
56: # note : $(LIB) is set in environment variables
57:
1.1.1.2 ! root 58: conlibs = $(LIB)\libcmt.lib $(LIB)\*.lib
1.1 root 59:
1.1.1.2 ! root 60: guilibs = $(LIB)\libcmt.lib $(LIB)\*.lib
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.