diff options
author | Simon Howard | 2010-02-05 23:08:12 +0000 |
---|---|---|
committer | Simon Howard | 2010-02-05 23:08:12 +0000 |
commit | 677729c658b39f075e563fbc9f5a898641f7de54 (patch) | |
tree | 109bae4ac22fbc6f8a34ba34a4e9fc6a33e75c48 /pkg/win32/GNUmakefile | |
parent | 8a77b34e936a3fd752db3bc1113e3d7bd0555440 (diff) | |
parent | b4f2d75b34b6e2b9bbb2fa6449125d3446a93a73 (diff) | |
download | chocolate-doom-677729c658b39f075e563fbc9f5a898641f7de54.tar.gz chocolate-doom-677729c658b39f075e563fbc9f5a898641f7de54.tar.bz2 chocolate-doom-677729c658b39f075e563fbc9f5a898641f7de54.zip |
Merge from trunk.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1845
Diffstat (limited to 'pkg/win32/GNUmakefile')
-rw-r--r-- | pkg/win32/GNUmakefile | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkg/win32/GNUmakefile b/pkg/win32/GNUmakefile new file mode 100644 index 00000000..147e2890 --- /dev/null +++ b/pkg/win32/GNUmakefile @@ -0,0 +1,34 @@ + +include ../config.make + +TOPLEVEL=../.. + +EXE_FILES=$(TOPLEVEL)/src/$(PROGRAM_PREFIX)doom.exe \ + $(TOPLEVEL)/src/$(PROGRAM_PREFIX)heretic.exe \ + $(TOPLEVEL)/src/$(PROGRAM_PREFIX)hexen.exe \ + $(TOPLEVEL)/src/$(PROGRAM_PREFIX)server.exe \ + $(TOPLEVEL)/src/$(PROGRAM_PREFIX)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 + |