summaryrefslogtreecommitdiff
path: root/mingw.bld
diff options
context:
space:
mode:
Diffstat (limited to 'mingw.bld')
-rw-r--r--mingw.bld19
1 files changed, 19 insertions, 0 deletions
diff --git a/mingw.bld b/mingw.bld
index 88311e2..e4f923f 100644
--- a/mingw.bld
+++ b/mingw.bld
@@ -22,8 +22,27 @@ action "clean"
22 clean: targets(); 22 clean: targets();
23} 23}
24 24
25ZIPFILE = "stage-$(git describe).zip";
26ZIPINPUT = [
27 "stage.exe",
28 "bloodfields.stage"
29];
30
31action "package"
32{
33 build: [ZIPFILE];
34}
35
25CXXFLAGS += "-ggdb"; 36CXXFLAGS += "-ggdb";
26 37
38target ZIPFILE
39{
40 profile "build"
41 {
42 execute("zip -9 ${ZIPFILE} ${ZIPINPUT}");
43 }
44}
45
27target "stage.exe" 46target "stage.exe"
28{ 47{
29 input [ 48 input [