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