diff options
author | Simon Howard | 2010-01-27 19:50:30 +0000 |
---|---|---|
committer | Simon Howard | 2010-01-27 19:50:30 +0000 |
commit | 0b8bf3cfe37a3d6e8ad01c0f6726430f53c0ad7e (patch) | |
tree | 483f983aacbd9907290cf61f0e3b3afb1b03f7e9 /pkg/win32 | |
parent | 3cf74a97261b1a0aceb591b495b0857781918edd (diff) | |
parent | a9e2d244a5a37fed344405e40698de2a2969c12a (diff) | |
download | chocolate-doom-0b8bf3cfe37a3d6e8ad01c0f6726430f53c0ad7e.tar.gz chocolate-doom-0b8bf3cfe37a3d6e8ad01c0f6726430f53c0ad7e.tar.bz2 chocolate-doom-0b8bf3cfe37a3d6e8ad01c0f6726430f53c0ad7e.zip |
Merge from trunk.
Subversion-branch: /branches/opl-branch
Subversion-revision: 1829
Diffstat (limited to 'pkg/win32')
-rw-r--r-- | pkg/win32/GNUmakefile | 32 | ||||
-rw-r--r-- | pkg/win32/README | 4 |
2 files changed, 36 insertions, 0 deletions
diff --git a/pkg/win32/GNUmakefile b/pkg/win32/GNUmakefile new file mode 100644 index 00000000..626f1845 --- /dev/null +++ b/pkg/win32/GNUmakefile @@ -0,0 +1,32 @@ + +include ../config.make + +TOPLEVEL=../.. + +EXE_FILES=$(TOPLEVEL)/src/$(PACKAGE_TARNAME).exe \ + $(TOPLEVEL)/src/chocolate-server.exe \ + $(TOPLEVEL)/setup/chocolate-setup.exe + +DLL_FILES=$(TOPLEVEL)/src/SDL.dll \ + $(TOPLEVEL)/src/SDL_mixer.dll \ + $(TOPLEVEL)/src/SDL_net.dll + +ZIP=$(PACKAGE_TARNAME)-$(PACKAGE_VERSION)-win32.zip + +$(ZIP) : staging + zip -j -r $@ staging/ + +staging: $(EXE_FILES) $(DLL_FILES) $(patsubst %,../../%,$(DOC_FILES)) + rm -rf staging + mkdir staging + cp $(EXE_FILES) $(DLL_FILES) staging/ + $(STRIP) staging/*.exe + for f in $(DOC_FILES); do \ + cp $(TOPLEVEL)/$$f staging/$$f.txt; \ + unix2dos staging/$$f.txt; \ + done + +clean: + rm -f $(ZIP) + rm -rf staging + diff --git a/pkg/win32/README b/pkg/win32/README new file mode 100644 index 00000000..1f43f52c --- /dev/null +++ b/pkg/win32/README @@ -0,0 +1,4 @@ + +Makefile to build Windows packages. Requires zip and unix2dos cygwin +packages to be installed. + |