`*.all` flags; `profile` rule rewritten
[k8jam.git] / 0build_wine.sh
blobf2d3c659b1c67c5ebe45d49d0d18b9f2dd1eeae5
1 #!/bin/sh
3 MGPATH="wine c:\\\\mingw\\\\bin\\\\"
4 MGCC="mingw32-gcc.exe"
5 CFLAGS="-O2 -DNT -Wall -DMKJAMBASE_COMPACT"
6 CC="${MGPATH}${MGCC}"
7 LINK="${CC}"
8 LINKFLAGS="-s"
9 AR="${MGPATH}ar.exe -ru"
10 RANLIB="${MGPATH}ranlib.exe"
11 LINKLIBS="-lkernel32 -ladvapi32"
12 #LINKFLAGS="-s -Wl,-subsystem,windows"
13 DESTPATH="bin.win32"
14 BUILDPATH="_wbuild"
15 WINE="wine"
16 XOS="nt"
17 EXESFX=".exe"
19 . ./0build_common.sh