platform ps2, handle audio similar to psp
[picodrive.git] / platform / pandora / Makefile
CommitLineData
68af34fe 1# release packaging makefile
2
d9653efd 3VER := $(shell head -n 1 ../common/version.h | \
85174a6d 4 sed 's/[^0-9]*\([0-9]*\)\.\([0-9]*\).*/\1\2/g')
d9653efd 5BUILD := $(shell git describe HEAD | grep -- - | \
6 sed -e 's/.*\-\(.*\)\-.*/\1/')
7ifneq "$(BUILD)" ""
8VER := $(VER)_$(BUILD)
9endif
68af34fe 10
dab0c363 11include ../../config.mak
12
85174a6d 13PND_MAKE ?= pnd_make
68af34fe 14
15all: rel
16
74e770b1 17../../tools/textfilter: ../../tools/textfilter.c
03d5f510 18 make -C ../../tools/ textfilter
68af34fe 19
0bc89554 20#readme.txt: ../../tools/textfilter ../base_readme.txt ../../ChangeLog
21# ../../tools/textfilter ../base_readme.txt $@ PANDORA
68af34fe 22
d9653efd 23/tmp/PicoDrive.pxml: PicoDrive.pxml.template FORCE
24 ./make_pxml.sh $< $@
68af34fe 25
dab0c363 26PicoDrive: ../../picodrive
27 $(STRIP) $^ -o $@
28
29rel: PicoDrive PicoDrive.sh picorestore \
68af34fe 30 PicoDrive.png PicoDrive_p.png \
31 ../../pico/carthw.cfg skin \
85174a6d 32 ../../README.md /tmp/PicoDrive.pxml
68af34fe 33 rm -rf out
34 mkdir out
35 cp -r $^ out/
36 $(PND_MAKE) -p PicoDrive_$(VER).pnd -d out -x out/PicoDrive.pxml -i out/PicoDrive.png -c
37
d9653efd 38FORCE:
39.PHONY: all rel FORCE