portable documentation
[picodrive.git] / platform / gizmondo / Makefile
index b5eaaac..6581e4f 100644 (file)
@@ -101,7 +101,7 @@ DEFINC += -D_USE_DRZ80
 OBJS += ../../cpu/DrZ80/drz80.o\r
 \r
 \r
-all: PicoDrive.exe\r
+all: PicoDrive.exe readme.txt\r
 \r
 PicoDrive.exe : $(OBJS) ../common/helix/helix_mp3.a\r
        @echo ">>>" $@\r
@@ -148,7 +148,7 @@ endif
        @$(AS) $(ASFLAGS) $< -o $@\r
 \r
 # build Cyclone\r
-../../cpu/Cyclone/proj/Cyclone.s :\r
+../../cpu/Cyclone/proj/Cyclone.s:\r
        @echo building Cyclone...\r
        @make -C ../../cpu/Cyclone/proj CONFIG_FILE=config_pico.h\r
 \r
@@ -156,6 +156,12 @@ endif
 ../common/helix/helix_mp3.a:\r
        make -C ../common/helix\r
 \r
+readme.txt: ../../tools/textfilter ../base_readme.txt\r
+       ../../tools/textfilter ../base_readme.txt $@ GIZ\r
+\r
+../../tools/textfilter: ../../tools/textfilter.c\r
+       make -C ../../tools/ textfilter\r
+\r
 \r
 # cleanup\r
 clean: tidy\r
@@ -184,7 +190,7 @@ $(error need VER)
 endif\r
 endif\r
 \r
-rel: PicoDrive.exe kgsdk/ARMV4IRel/KGSDK.dll # ../readme.txt config.txt\r
+rel: PicoDrive.exe kgsdk/ARMV4IRel/KGSDK.dll readme.txt\r
        zip -9 -j ../../PicoDrive_$(VER).zip $^\r
        ln -s ../gp2x/skin skin\r
        zip -9 -r ../../PicoDrive_$(VER).zip skin -i \*.png -i \*.txt\r