From 09eb0733854da12146570060e84f5f7b4203e1bc Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 19 Jan 2012 11:31:18 -0700 Subject: Added gats, verified in linux and win32. --- mingw.bld | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'mingw.bld') diff --git a/mingw.bld b/mingw.bld index 43d1486..407047d 100644 --- a/mingw.bld +++ b/mingw.bld @@ -22,10 +22,11 @@ action "clean" clean: targets(); } -ZIPFILE = "stage-$(git describe).zip"; +ZIPFILE = "stage-win32-$(git describe).zip"; ZIPINPUT = [ "stage.exe", "bloodfields.stage", + "demo.stage", "libgcc_s_dw2-1.dll", "libstdc++-6.dll", "stage.txt" @@ -42,6 +43,7 @@ target ZIPFILE { profile "build" { + execute("wine strip --strip-all stage.exe"); execute("zip -9 ${ZIPFILE} ${ZIPINPUT}"); } } @@ -54,9 +56,9 @@ target "stage.exe" ]; rule "winexe"; - CXXFLAGS += "-O2 -frtti -fexceptions -Wall -Ilibbu++/support/windows -Isrc"; + CXXFLAGS += "-O2 -frtti -fexceptions -Wall -Ilibbu++/support/windows -Isrc -Ilibgats"; - 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"; + 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"; CXXFLAGS += "-Ilibbu++"; } -- cgit v1.2.3