X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=win32%2FMakefile;h=c090e7568bc174456b6ce08443f61b0806f2fe7f;hb=29fe3f5ac648071efb6d41cbcaa5b0df66deeb42;hp=47c81a40676e77e12a73d1c7cbaacb2460763021;hpb=7ee5c389e6405560761ba433cd4b9d56c495b7f6;p=libpicofe.git diff --git a/win32/Makefile b/win32/Makefile index 47c81a4..c090e75 100644 --- a/win32/Makefile +++ b/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 $^ +