Mercurial > hg > forks > pwpunix
changeset 45:728a691ffe65
"Hidden" targets for win32 binary zip generation.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 24 May 2010 05:44:00 +0300 |
parents | ec1bff613ae0 |
children | 1a01445cc0a7 |
files | Makefile |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Mon May 24 05:43:44 2010 +0300 +++ b/Makefile Mon May 24 05:44:00 2010 +0300 @@ -89,5 +89,13 @@ XLDFLAGS="-s -L$(MINGW64_PATH)/lib/ `$(MINGW64_PATH)/bin/sdl-config --libs` -lwinmm" && \ $(MAKE) all +README.txt: README + unix2dos -n $< $@ + +sdl-win32-zip: clean sdl-win32 README.txt SDL.dll + $(RM) pwpunix-1.95-sdl-win32-bin.zip + for subdir in $(SUBDIRS); do tmp=`ls $$subdir/*.exe`; if test -f "$$tmp"; then cp "$$tmp" .; fi; done; \ + zip -9vv pwpunix-1.95-sdl-win32-bin.zip *.exe README.txt SDL.dll + .dummy: