1 |
# platform specific settings for Windows (mingw), 32 bit
|
2 |
|
3 |
# where you want everything
|
4 |
[install]
|
5 |
RAD_BASEDIR: {PROGRAMFILES}\radiance
|
6 |
RAD_BINDIR: bin
|
7 |
RAD_RLIBDIR: share\lib
|
8 |
RAD_MANDIR: share\man
|
9 |
|
10 |
# shouldn't need any changes
|
11 |
[build]
|
12 |
CC: gcc
|
13 |
CPPDEFINES: _WIN32 MINGW NDEBUG _CONSOLE _MBCS HDSUF=.exe fseeko=fseek
|
14 |
CCFLAGS: -O2 -m32
|
15 |
EZXML_CPPDEFINES: EZXML_NOMMAP
|
16 |
|
17 |
[debug]
|
18 |
CC: gcc
|
19 |
CPPDEFINES: _WIN32 MINGW _DEBUG _CONSOLE _MBCS HDSUF=.exe fseeko=fseek
|
20 |
CCFLAGS: -g -m32
|
21 |
EZXML_CPPDEFINES: EZXML_NOMMAP
|
22 |
|
23 |
# never touch below this
|
24 |
[code]
|
25 |
RAD_ARGSCOMPAT: fixargv0.c
|
26 |
#RAD_MATHCOMPAT: erf.c
|
27 |
RAD_NETCOMPAT: win_netproc.c
|
28 |
RAD_PROCESS: win_process.c win_popen.c
|
29 |
RAD_PCALLS: raypwin.c
|
30 |
RAD_SOCKETLIB: ws2_32
|
31 |
RAD_MLIB: m
|
32 |
|