aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 93204a1d81..5bb27c8970 100644
--- a/Makefile
+++ b/Makefile
@@ -10,6 +10,7 @@ RM := rm -f
RM_REC := $(RM) -r
ZIP := zip -q
CP := cp
+WIN32PATH=C:/scummvm
#######################################################################
# Default compilation parameters. Normally don't edit these #
@@ -107,4 +108,16 @@ scummvm-static: $(OBJS)
/sw/lib/libFLAC.a \
-lz
+# Special target to create a win32 snapshot binary
+win32dist: scummvm
+ mkdir -p $(WIN32PATH)
+ strip scummvm.exe -o $(WIN32PATH)/scummvm.exe
+ cp COPYING $(WIN32PATH)/copying.txt
+ cp README $(WIN32PATH)/readme.txt
+ cp NEWS $(WIN32PATH)/news.txt
+ cp SDL/README-SDL.txt $(WIN32PATH)
+ cp SDL/lib/SDL.dll $(WIN32PATH)
+ u2d $(WIN32PATH)/*.txt
+
+
.PHONY: deb bundle test