mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-06 15:48:05 -04:00
37 lines
1.1 KiB
Makefile
37 lines
1.1 KiB
Makefile
|
|
# ----------- release -----------
|
|
ifneq ($(findstring rel,$(MAKECMDGOALS)),)
|
|
ifeq ($(VER),)
|
|
$(error need VER)
|
|
endif
|
|
endif
|
|
|
|
../../tools/textfilter: ../../tools/textfilter.c
|
|
make -C ../../tools/ textfilter
|
|
|
|
readme.txt: ../../tools/textfilter ../base_readme.txt ../../ChangeLog
|
|
../../tools/textfilter ../base_readme.txt $@ PSP
|
|
|
|
# ?
|
|
rel: ../../EBOOT.PBP readme.txt ../game_def.cfg
|
|
mkdir -p PicoDrive/skin/
|
|
cp $^ PicoDrive/
|
|
cp skin/* PicoDrive/skin/
|
|
zip -9 -r ../../PicoDrive_psp_$(VER).zip PicoDrive
|
|
rm -rf PicoDrive
|
|
mkdir bin_to_cso_mp3
|
|
cp ../../tools/bin_to_cso_mp3/* bin_to_cso_mp3/
|
|
zip -9 -r ../../PicoDrive_psp_$(VER).zip bin_to_cso_mp3
|
|
rm -rf bin_to_cso_mp3
|
|
|
|
rel_kxploit: readme.txt ../game_def.cfg
|
|
mkdir -p PicoDrive/skin/
|
|
cp $^ PicoDrive/
|
|
cp skin/* PicoDrive/skin/
|
|
zip -9 -r ../../PicoDrive_psp_$(VER)_kxploit.zip PicoDrive
|
|
zip -9 -r ../../PicoDrive_psp_$(VER)_kxploit.zip PicoDrive%
|
|
mkdir bin_to_cso_mp3
|
|
cp ../../tools/bin_to_cso_mp3/* bin_to_cso_mp3/
|
|
zip -9 -r ../../PicoDrive_psp_$(VER)_kxploit.zip bin_to_cso_mp3
|
|
rm -rf bin_to_cso_mp3
|
|
|