diff options
Diffstat (limited to 'mingw.bld')
-rw-r--r-- | mingw.bld | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -22,10 +22,11 @@ action "clean" | |||
22 | clean: targets(); | 22 | clean: targets(); |
23 | } | 23 | } |
24 | 24 | ||
25 | ZIPFILE = "stage-$(git describe).zip"; | 25 | ZIPFILE = "stage-win32-$(git describe).zip"; |
26 | ZIPINPUT = [ | 26 | ZIPINPUT = [ |
27 | "stage.exe", | 27 | "stage.exe", |
28 | "bloodfields.stage", | 28 | "bloodfields.stage", |
29 | "demo.stage", | ||
29 | "libgcc_s_dw2-1.dll", | 30 | "libgcc_s_dw2-1.dll", |
30 | "libstdc++-6.dll", | 31 | "libstdc++-6.dll", |
31 | "stage.txt" | 32 | "stage.txt" |
@@ -42,6 +43,7 @@ target ZIPFILE | |||
42 | { | 43 | { |
43 | profile "build" | 44 | profile "build" |
44 | { | 45 | { |
46 | execute("wine strip --strip-all stage.exe"); | ||
45 | execute("zip -9 ${ZIPFILE} ${ZIPINPUT}"); | 47 | execute("zip -9 ${ZIPFILE} ${ZIPINPUT}"); |
46 | } | 48 | } |
47 | } | 49 | } |
@@ -54,9 +56,9 @@ target "stage.exe" | |||
54 | ]; | 56 | ]; |
55 | rule "winexe"; | 57 | rule "winexe"; |
56 | 58 | ||
57 | CXXFLAGS += "-O2 -frtti -fexceptions -Wall -Ilibbu++/support/windows -Isrc"; | 59 | CXXFLAGS += "-O2 -frtti -fexceptions -Wall -Ilibbu++/support/windows -Isrc -Ilibgats"; |
58 | 60 | ||
59 | LDFLAGS += "-enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -mthreads -Wl -lmingw32 -Llibbu++ -lbu++win -Llibbu++/support/windows -lbz2 -Wl,-subsystem,console"; | 61 | LDFLAGS += "-enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -mthreads -Wl -lmingw32 -Llibbu++ -lbu++win -Llibbu++/support/windows -lbz2 -Wl,-subsystem,console -Llibgats -lgatswin"; |
60 | 62 | ||
61 | CXXFLAGS += "-Ilibbu++"; | 63 | CXXFLAGS += "-Ilibbu++"; |
62 | } | 64 | } |