rel make target for win32
[libpicofe.git] / win32 / Makefile
index 47c81a4..c090e75 100644 (file)
@@ -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 $^
+