X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=psp%2FMakefile;h=d990ba67f73bc876019c80a66b0eb8ffe8df1875;hb=fe9e3b2544bdc6ba0fef167a949db4f90511f5ea;hp=c3b04cd95c6dae2b84dad56e5909feec1a414eaa;hpb=c14459dbf965583fcb62d323c40c8a6e641e2e69;p=libpicofe.git diff --git a/psp/Makefile b/psp/Makefile index c3b04cd..d990ba6 100644 --- a/psp/Makefile +++ b/psp/Makefile @@ -8,9 +8,9 @@ PSPSDK = $(shell psp-config --pspsdk-path) amalgamate = 0 -CFLAGS += -I../.. -I. -DNO_SYNC -DLPRINTF_STDIO +CFLAGS += -I../.. -I. -DNO_SYNC CFLAGS += -Wall -Winline -G0 -CFLAGS += -DLPRINTF_STDIO +#CFLAGS += -DLPRINTF_STDIO #CFLAGS += -fprofile-generate #CFLAGS += -fprofile-use #CFLAGS += -pg @@ -83,6 +83,7 @@ EXTRA_TARGETS = EBOOT.PBP PSP_EBOOT_TITLE = PicoDrive PSP_EBOOT_ICON = data/icon.png #PSP_EBOOT_PIC1 = .png +BUILD_PRX = 1 CUSTOM_CLEAN = myclean @@ -131,8 +132,11 @@ data/bg40.o: data/bg40.bin bin2o -i $< $@ bgdatac40 # +ifndef UPDIR +UPDIR = /media/disk/PSP/GAME/PicoDrive/ +endif up: EBOOT.PBP - @cp -v $^ /media/disk/PSP/GAME/PicoDrive/ + @cp -v $^ $(UPDIR) # cleanup