repo.or.cz
/
k8jam.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
added script to build with cross-mingw; more fixes; can be built even with ash
[k8jam.git]
/
0build_wine.sh
blob
60e551e56bacf59a328a31554d9733efee46109b
1
#!/bin/sh
2
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
=
"tan"
16
XOS
=
"nt"
17
EXESFX
=
".exe"
18
19
. .
/
0
build_common.sh