From: notaz Date: Tue, 6 Oct 2009 14:52:30 +0000 (+0000) Subject: rel make target for win32 X-Git-Tag: v1.85~242 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81aaab49a79c613be21108854fd5488c870f6432;p=picodrive.git rel make target for win32 git-svn-id: file:///home/notaz/opt/svn/PicoDrive@808 be3aeb3a-fb24-0410-a615-afba39da0efa --- diff --git a/platform/win32/Makefile b/platform/win32/Makefile index 47c81a4..c090e75 100644 --- a/platform/win32/Makefile +++ b/platform/win32/Makefile @@ -127,3 +127,13 @@ cpu/fame/famec.o : ../../cpu/fame/famec.c ../../cpu/fame/famec_opcodes.h @echo ">>>" $< $(CC) $(CFLAGS) -Wno-unused -c $< -o $@ +# ----------- release ----------- +ifneq ($(findstring rel,$(MAKECMDGOALS)),) +ifeq ($(VER),) +$(error need VER) +endif +endif + +rel: $(TARGET) readme.txt carthw.cfg + zip -9 -j ../../PicoDrive_win32_$(VER).zip $^ +