mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
final src and Makefile adjustments for PSP release
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@298 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
110df09c8a
commit
8b99ab90aa
14 changed files with 60 additions and 11 deletions
|
@ -11,8 +11,6 @@ amalgamate = 0
|
|||
CFLAGS += -I../.. -I. -DNO_SYNC
|
||||
CFLAGS += -Wall -Winline -G0
|
||||
#CFLAGS += -DLPRINTF_STDIO
|
||||
#CFLAGS += -fprofile-generate
|
||||
#CFLAGS += -fprofile-use
|
||||
#CFLAGS += -pg
|
||||
ifeq ($(DEBUG),)
|
||||
CFLAGS += -O2 -ftracer -fstrength-reduce -ffast-math
|
||||
|
@ -109,7 +107,11 @@ AS := psp-as
|
|||
|
||||
../../Pico/Memory.o : ../../Pico/Memory.c
|
||||
@echo ">>>" $<
|
||||
$(CC) $(CFLAGS) -c $< -o $@ -D_ASM_MEMORY_C -D_ASM_MEMORY_C_AMIPS
|
||||
$(CC) $(CFLAGS) -O2 -c $< -o $@ -D_ASM_MEMORY_C -D_ASM_MEMORY_C_AMIPS
|
||||
|
||||
../../Pico/cd/Memory.o : ../../Pico/cd/Memory.c
|
||||
@echo ">>>" $<
|
||||
$(CC) $(CFLAGS) -O2 -c $< -o $@
|
||||
|
||||
../../Pico/Draw.o : ../../Pico/Draw.c
|
||||
@echo ">>>" $<
|
||||
|
@ -119,6 +121,10 @@ AS := psp-as
|
|||
@echo ">>>" $<
|
||||
$(CC) $(CFLAGS) -c $< -o $@ -D_ASM_MISC_C_AMIPS
|
||||
|
||||
../../Pico/cd/gfx_cd.o : ../../Pico/cd/gfx_cd.c
|
||||
@echo ">>>" $<
|
||||
$(CC) $(CFLAGS) -O2 -c $< -o $@
|
||||
|
||||
readme.txt: ../../tools/textfilter ../base_readme.txt
|
||||
../../tools/textfilter ../base_readme.txt $@ PSP
|
||||
|
||||
|
@ -142,6 +148,7 @@ up: EBOOT.PBP
|
|||
# cleanup
|
||||
|
||||
myclean:
|
||||
$(RM) PicoDrive.map
|
||||
make -C ../../cpu/musashi clean
|
||||
|
||||
|
||||
|
@ -158,5 +165,9 @@ endif
|
|||
|
||||
# ?
|
||||
rel: EBOOT.PBP readme.txt
|
||||
zip -9 -r ../../PicoDrive_$(VER).zip skin -i \*.png -i \*.txt
|
||||
mkdir -p PicoDrive/skin/
|
||||
cp $^ PicoDrive/
|
||||
cp skin/* PicoDrive/skin/
|
||||
zip -9 -r ../../PicoDrive_$(VER).zip PicoDrive
|
||||
rm -rf PicoDrive
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue