diff options
author | Mike Buland <eichlan@xagasoft.com> | 2012-01-19 11:31:18 -0700 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2012-01-19 11:31:18 -0700 |
commit | 09eb0733854da12146570060e84f5f7b4203e1bc (patch) | |
tree | 217986bff60af512c87688aa3309cf81ac3b4a1f /mingw.bld | |
parent | 3232d0069421a1585e7e42f503c1ed7b1910891c (diff) | |
download | stage-09eb0733854da12146570060e84f5f7b4203e1bc.tar.gz stage-09eb0733854da12146570060e84f5f7b4203e1bc.tar.bz2 stage-09eb0733854da12146570060e84f5f7b4203e1bc.tar.xz stage-09eb0733854da12146570060e84f5f7b4203e1bc.zip |
Added gats, verified in linux and win32.
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 | } |