X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=psp%2FMakefile;h=25a0a0154b747d22b4752c2c6facef97188f39c5;hb=1ceda4176ff86029e143802e2b5999dd2d091e9c;hp=9161ea623bea2d4cda1df0093140f4ef31db0b98;hpb=117f236a4df7e19866bef195fa38ca022ff4b529;p=libpicofe.git diff --git a/psp/Makefile b/psp/Makefile index 9161ea6..25a0a01 100644 --- a/psp/Makefile +++ b/psp/Makefile @@ -6,6 +6,7 @@ PSPSDK = $(shell psp-config --pspsdk-path) #use_musashi = 1 #use_mz80 = 1 amalgamate = 0 +for_15fw = 1 CFLAGS += -I../.. -I. -DNO_SYNC @@ -17,13 +18,16 @@ CFLAGS += -O2 -ftracer -fstrength-reduce -ffast-math else CFLAGS += -ggdb endif +ifeq "$(for_15fw)" "1" +CFLAGS += -DFW15 +endif -# frontend -OBJS += main.o emu.o mp3.o menu.o psp.o +# frontend and stuff +OBJS += main.o emu.o mp3.o menu.o psp.o asm_utils.o # common -OBJS += ../common/emu.o ../common/menu.o ../common/fonts.o ../common/readpng.o +OBJS += ../common/emu.o ../common/menu.o ../common/fonts.o ../common/config.o ../common/readpng.o # Pico ifeq "$(amalgamate)" "1" @@ -36,6 +40,9 @@ OBJS += ../../Pico/Area.o ../../Pico/Cart.o ../../Pico/Memory.o ../../Pico/Misc. OBJS += ../../Pico/cd/Pico.o ../../Pico/cd/Memory.o ../../Pico/cd/Sek.o ../../Pico/cd/LC89510.o \ ../../Pico/cd/cd_sys.o ../../Pico/cd/cd_file.o ../../Pico/cd/gfx_cd.o \ ../../Pico/cd/Area.o ../../Pico/cd/Misc.o ../../Pico/cd/pcm.o ../../Pico/cd/buffering.o +# Pico - carthw +OBJS += ../../Pico/carthw/carthw.o ../../Pico/carthw/svp/svp.o ../../Pico/carthw/svp/Memory.o \ + ../../Pico/carthw/svp/ssp16.o endif # Pico - sound @@ -81,7 +88,9 @@ EXTRA_TARGETS = EBOOT.PBP PSP_EBOOT_TITLE = PicoDrive PSP_EBOOT_ICON = data/icon.png #PSP_EBOOT_PIC1 = .png +ifneq "$(for_15fw)" "1" BUILD_PRX = 1 +endif CUSTOM_CLEAN = myclean @@ -164,10 +173,17 @@ endif endif # ? -rel: EBOOT.PBP readme.txt +rel: EBOOT.PBP readme.txt ../game_def.cfg mkdir -p PicoDrive/skin/ cp $^ PicoDrive/ cp skin/* PicoDrive/skin/ - zip -9 -r ../../PicoDrive_$(VER).zip PicoDrive + zip -9 -r ../../PicoDrive_psp_$(VER).zip PicoDrive rm -rf PicoDrive +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% +