final src and Makefile adjustments for PSP release

git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@298 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2007-11-17 22:13:35 +00:00
parent fe9e3b2544
commit 63b796cabb
7 changed files with 41 additions and 5 deletions

View file

@ -11,8 +11,6 @@ amalgamate = 0
CFLAGS += -I../.. -I. -DNO_SYNC CFLAGS += -I../.. -I. -DNO_SYNC
CFLAGS += -Wall -Winline -G0 CFLAGS += -Wall -Winline -G0
#CFLAGS += -DLPRINTF_STDIO #CFLAGS += -DLPRINTF_STDIO
#CFLAGS += -fprofile-generate
#CFLAGS += -fprofile-use
#CFLAGS += -pg #CFLAGS += -pg
ifeq ($(DEBUG),) ifeq ($(DEBUG),)
CFLAGS += -O2 -ftracer -fstrength-reduce -ffast-math CFLAGS += -O2 -ftracer -fstrength-reduce -ffast-math
@ -109,7 +107,11 @@ AS := psp-as
../../Pico/Memory.o : ../../Pico/Memory.c ../../Pico/Memory.o : ../../Pico/Memory.c
@echo ">>>" $< @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 ../../Pico/Draw.o : ../../Pico/Draw.c
@echo ">>>" $< @echo ">>>" $<
@ -119,6 +121,10 @@ AS := psp-as
@echo ">>>" $< @echo ">>>" $<
$(CC) $(CFLAGS) -c $< -o $@ -D_ASM_MISC_C_AMIPS $(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 readme.txt: ../../tools/textfilter ../base_readme.txt
../../tools/textfilter ../base_readme.txt $@ PSP ../../tools/textfilter ../base_readme.txt $@ PSP
@ -142,6 +148,7 @@ up: EBOOT.PBP
# cleanup # cleanup
myclean: myclean:
$(RM) PicoDrive.map
make -C ../../cpu/musashi clean make -C ../../cpu/musashi clean
@ -158,5 +165,9 @@ endif
# ? # ?
rel: EBOOT.PBP readme.txt 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

View file

@ -1,3 +1,8 @@
// (c) Copyright 2007 notaz, All rights reserved.
// Free for non-commercial use.
// For commercial use, separate licencing terms must be obtained.
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/syslimits.h> // PATH_MAX #include <sys/syslimits.h> // PATH_MAX

View file

@ -1,3 +1,8 @@
// (c) Copyright 2007 notaz, All rights reserved.
// Free for non-commercial use.
// For commercial use, separate licencing terms must be obtained.
#include <string.h> #include <string.h>
#include "psp.h" #include "psp.h"
#include "emu.h" #include "emu.h"

View file

@ -1,4 +1,4 @@
// (c) Copyright 2006,2007 notaz, All rights reserved. // (c) Copyright 2007 notaz, All rights reserved.
// Free for non-commercial use. // Free for non-commercial use.
// For commercial use, separate licencing terms must be obtained. // For commercial use, separate licencing terms must be obtained.

View file

@ -1,3 +1,8 @@
// (c) Copyright 2007 notaz, All rights reserved.
// Free for non-commercial use.
// For commercial use, separate licencing terms must be obtained.
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>

View file

@ -1,3 +1,8 @@
// (c) Copyright 2007 notaz, All rights reserved.
// Free for non-commercial use.
// For commercial use, separate licencing terms must be obtained.
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdarg.h> #include <stdarg.h>

View file

@ -1,3 +1,8 @@
// (c) Copyright 2007 notaz, All rights reserved.
// Free for non-commercial use.
// For commercial use, separate licencing terms must be obtained.
#include <pspctrl.h> #include <pspctrl.h>
void psp_init(void); void psp_init(void);