gp2x: various fixes, prepare for release

This commit is contained in:
notaz 2013-10-04 03:18:59 +03:00
parent fcdf2aff9b
commit 31f944ea8c
10 changed files with 61 additions and 98 deletions

View file

@ -1,10 +1,24 @@
# release packaging makefile
VER := $(shell head -n 1 ../common/version.h | \
sed 's/.*"\(.*\)\.\(.*\)".*/\1\2/g')
BUILD := $(shell git describe HEAD | grep -- - | \
sed -e 's/.*\-\(.*\)\-.*/\1/')
ifneq "$(BUILD)" ""
VER := $(VER)_$(BUILD)
endif
all: rel
../../tools/textfilter:
make -C ../../tools/
readme.txt: ../../tools/textfilter ../base_readme.txt
../../tools/textfilter ../base_readme.txt $@ GP2X
VER ?= $(shell head -n 1 version.h | sed 's/.*"\(.*\)\.\(.*\)".*/\1\2/g')
CODE940 = code940/pico940_v3.bin
rel: PicoDrive PicoDrive.gpe $(CODE940) readme.txt ../game_def.cfg \
rel: ../../PicoDrive PicoDrive.gpe $(CODE940) readme.txt ../game_def.cfg \
PicoDrive.png PicoDrive_s.png PicoDrive_t.png \
warm_2.4.25.o warm_2.4.26-open2x.o warm_2.6.24.ko \
../../pico/carthw.cfg