1 |
!IFDEF BORLAND
|
2 |
cc = bcc32
|
3 |
rc = brc32
|
4 |
link = ilink32
|
5 |
bldlib = tlib
|
6 |
cflags = -c -3 -j1 -X -Vd -I$(INCLUDE)
|
7 |
rcflags = -r -fo
|
8 |
linkflags = -n -V4.0 -aa
|
9 |
!IFDEF main
|
10 |
linkflags = $(linkflags) -ap
|
11 |
borobjs=c0x32.obj
|
12 |
!ELSE
|
13 |
linkflags = $(linkflags) -Tpe
|
14 |
borobjs=c0w32.obj
|
15 |
!ENDIF
|
16 |
linkflags = $(linkflags) -j$(LIB) -L$(LIB)
|
17 |
libflags=$(OBJ_DIR)\$(proj).lib
|
18 |
outobj = -o
|
19 |
commas =,
|
20 |
outexe=
|
21 |
borlib=+
|
22 |
deflibs = import32.lib cw32mti.lib ole2w32.lib
|
23 |
!IFDEF MFC
|
24 |
cflags =$(cflags) -VF -w-hid -w-par -w-aus -w-inl -w-inq -WM -Vd /D_NO_VCL;_RTLDLL;_AFXDLL;_X86_;_WINDOWS;_MSC_VER=1100;WIN32;
|
25 |
!IFDEF NODEBUG
|
26 |
deflibs = bfc42.lib bfcs42.lib $(deflibs)
|
27 |
!ELSE
|
28 |
deflibs = BFC42D.lib BFCS42D.lib bfcd42d.lib bfco42d.lib bfcn42d.lib $(deflibs)
|
29 |
!ENDIF
|
30 |
!ENDIF
|
31 |
|
32 |
d3dframe=..\..\lib\borland\d3dframe.lib
|
33 |
|
34 |
!IFDEF nodebug
|
35 |
cdebug = -Od
|
36 |
linkdebug = /x
|
37 |
cflags = $(cflags) /DNDEBUG;
|
38 |
!ELSE
|
39 |
cdebug = -Od -v -y
|
40 |
linkdebug = /v
|
41 |
cflags = $(cflags) /DDEBUG;
|
42 |
!ENDIF
|
43 |
|
44 |
!ELSE
|
45 |
!IFDEF WATCOM
|
46 |
cc = cl
|
47 |
rc = rc
|
48 |
link = link
|
49 |
bldlib = lib
|
50 |
deflibs = kernel32.lib gdi32.lib user32.lib advapi32.lib gdi32.lib comdlg32.lib winspool.lib shell32.lib winmm.lib comctl32.lib ole32.lib oleaut32.lib
|
51 |
cflags = -c /D "WIN32" /D "_WINDOWS"
|
52 |
!IFDEF NODEBUG
|
53 |
cflags =$(cflags) /D "NDEBUG"
|
54 |
cdebug = -Ox
|
55 |
linkdebug =
|
56 |
!IFDEF MFC
|
57 |
cflags =$(cflags) /MD /D "_AFXDLL"
|
58 |
!ELSE
|
59 |
cflags =$(cflags) /ML
|
60 |
!ENDIF
|
61 |
!ELSE
|
62 |
cflags =$(cflags) /D "DEBUG"
|
63 |
cdebug = -Z7 -Ox
|
64 |
linkdebug = -map -debug:full
|
65 |
!IFDEF MFC
|
66 |
cflags =$(cflags) /MDd /D "_AFXDLL"
|
67 |
!ELSE
|
68 |
cflags =$(cflags) /MLd
|
69 |
!ENDIF
|
70 |
!ENDIF
|
71 |
rcflags = -r -fo
|
72 |
linkflags = /INCREMENTAL:NO /NOLOGO
|
73 |
!IFDEF main
|
74 |
linkflags = $(linkflags) /SUBSYSTEM:CONSOLE
|
75 |
!ELSE
|
76 |
linkflags = $(linkflags) /SUBSYSTEM:WINDOWS
|
77 |
!ENDIF
|
78 |
libflags=/OUT:$(OBJ_DIR)\$(proj).lib
|
79 |
outobj = -Fo
|
80 |
commas=
|
81 |
outexe=-out:
|
82 |
borobjs=
|
83 |
borlib=
|
84 |
d3dframe=..\..\lib\watcom\d3dframe.lib
|
85 |
|
86 |
!ELSE
|
87 |
cc = cl
|
88 |
rc = rc
|
89 |
link = link
|
90 |
bldlib = lib
|
91 |
deflibs = kernel32.lib gdi32.lib user32.lib advapi32.lib gdi32.lib comdlg32.lib winspool.lib shell32.lib winmm.lib comctl32.lib ole32.lib oleaut32.lib
|
92 |
cflags = -c /D "WIN32" /D "_WINDOWS"
|
93 |
linkflags=
|
94 |
!IFDEF NODEBUG
|
95 |
cflags =$(cflags) /D "NDEBUG"
|
96 |
cdebug = -Ox
|
97 |
linkdebug = /RELEASE
|
98 |
!IFDEF MFC
|
99 |
cflags =$(cflags) /MD /D "_AFXDLL"
|
100 |
!ELSE
|
101 |
cflags =$(cflags) /ML
|
102 |
!ENDIF
|
103 |
!ELSE
|
104 |
cflags = $(cflags) /D "DEBUG"
|
105 |
cdebug = -Z7 -Ox
|
106 |
linkdebug = -map -debug:full -debugtype:cv
|
107 |
!IFDEF MFC
|
108 |
cflags =$(cflags) /MDd /D "_AFXDLL"
|
109 |
!ELSE
|
110 |
linkflags = $(linkflags) /NODEFAULTLIB:LIBC
|
111 |
cflags =$(cflags) /MLd
|
112 |
!ENDIF
|
113 |
!ENDIF
|
114 |
cflags =$(cflags)
|
115 |
rcflags = -r -fo
|
116 |
linkflags = $(linkflags) /INCREMENTAL:NO /PDB:NONE /NOLOGO
|
117 |
!IFDEF main
|
118 |
linkflags = $(linkflags) /SUBSYSTEM:CONSOLE
|
119 |
!ELSE
|
120 |
linkflags = $(linkflags) /SUBSYSTEM:WINDOWS
|
121 |
!ENDIF
|
122 |
libflags=/OUT:$(OBJ_DIR)\$(proj).lib /SUBSYSTEM:WINDOWS
|
123 |
outobj = -Fo
|
124 |
commas=
|
125 |
outexe=-out:
|
126 |
borobjs=
|
127 |
borlib=
|
128 |
d3dframe=..\..\lib\d3dframe.lib
|
129 |
|
130 |
!ENDIF
|
131 |
!ENDIF
|