UIQ3 bugfixes, SVP drc indirect jumps, stuff
[picodrive.git] / platform / uiq3 / Makefile
index 9e91127..dcfff24 100644 (file)
@@ -1,4 +1,4 @@
-# makefile for uiq3_patcher_0_2.tar.gz\r
+# makefile for uiq3_patcher_0_2.tar.gz setup, modified\r
 export CROSS = arm-none-symbianelf-\r
 APPNAME = PicoDrive\r
 VER_MAJ = 1\r
@@ -141,6 +141,20 @@ engine/blit_asm.o : engine/blit.s
        @echo ">>>" $@\r
        $(AS) $(ASFLAGS) $< -o $@\r
 \r
-# App.o can't be optimized\r
-#App.o : App.cpp\r
-#      $(CC) $(CXXFLAGS) -O0 -c $< -o $@\r
+\r
+readme.txt: ../../tools/textfilter ../base_readme.txt\r
+       ../../tools/textfilter ../base_readme.txt $@ UIQ\r
+\r
+# ----------- release -----------\r
+ifneq ($(findstring rel,$(MAKECMDGOALS)),)\r
+ifeq ($(VER),)\r
+$(error need VER)\r
+endif\r
+endif\r
+\r
+rel: picodrive.sis readme.txt\r
+       zip -9 -j ../../PicoDrive_uiq3_$(VER).zip $^\r
+       mkdir bin_to_cso_mp3\r
+       cp ../../tools/bin_to_cso_mp3/* bin_to_cso_mp3/\r
+       zip -9 -r ../../PicoDrive_uiq3_$(VER).zip bin_to_cso_mp3\r
+       rm -rf bin_to_cso_mp3\r