notaz.gp2x.de
/
libpicofe.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
psp gfx scaling/etc stuff
[libpicofe.git]
/
psp
/
Makefile
diff --git
a/psp/Makefile
b/psp/Makefile
index
7a0cada
..
db032d8
100644
(file)
--- a/
psp/Makefile
+++ b/
psp/Makefile
@@
-11,9
+11,9
@@
amalgamate = 0
\r
\r
CFLAGS += -I../.. -I. -D_UNZIP_SUPPORT -DNO_SYNC # -DBENCHMARK
\r
\r
\r
CFLAGS += -I../.. -I. -D_UNZIP_SUPPORT -DNO_SYNC # -DBENCHMARK
\r
-CFLAGS += -Wall -Winline
\r
+CFLAGS += -Wall -Winline
-G0
\r
ifeq ($(DEBUG),)
\r
ifeq ($(DEBUG),)
\r
-CFLAGS += -O2 -
G0 -
ftracer -fstrength-reduce -ffast-math
\r
+CFLAGS += -O2 -ftracer -fstrength-reduce -ffast-math
\r
else
\r
CFLAGS += -ggdb
\r
endif
\r
else
\r
CFLAGS += -ggdb
\r
endif
\r
@@
-52,7
+52,8
@@
OBJS += ../../Pico/sound/mix.o
OBJS += ../../Pico/sound/sn76496.o ../../Pico/sound/ym2612.o
\r
# zlib (hacked)
\r
OBJS += ../../zlib/gzio.o ../../zlib/inffast.o ../../zlib/inflate.o ../../zlib/inftrees.o ../../zlib/trees.o \
\r
OBJS += ../../Pico/sound/sn76496.o ../../Pico/sound/ym2612.o
\r
# zlib (hacked)
\r
OBJS += ../../zlib/gzio.o ../../zlib/inffast.o ../../zlib/inflate.o ../../zlib/inftrees.o ../../zlib/trees.o \
\r
- ../../zlib/deflate.o ../../zlib/crc32.o ../../zlib/adler32.o ../../zlib/zutil.o ../../zlib/compress.o
\r
+ ../../zlib/deflate.o ../../zlib/crc32.o ../../zlib/adler32.o ../../zlib/zutil.o ../../zlib/compress.o \
\r
+ ../../zlib/uncompr.o
\r
# unzip
\r
OBJS += ../../unzip/unzip.o ../../unzip/unzip_stream.o
\r
# CPU cores
\r
# unzip
\r
OBJS += ../../unzip/unzip.o ../../unzip/unzip_stream.o
\r
# CPU cores
\r
@@
-70,6
+71,8
@@
OBJS += ../../cpu/mz80/mz80.o
else
\r
$(error nothing here!)
\r
endif
\r
else
\r
$(error nothing here!)
\r
endif
\r
+# bg images
\r
+OBJS += data/bg32.o data/bg40.o
\r
\r
\r
LIBS += -lpng -lm -lpspgu -lpsppower -Wl,-Map=PicoDrive.map # -lpspaudio -lpsphprm
\r
\r
\r
LIBS += -lpng -lm -lpspgu -lpsppower -Wl,-Map=PicoDrive.map # -lpspaudio -lpsphprm
\r
@@
-109,7
+112,13
@@
readme.txt: ../../tools/textfilter ../base_readme.txt
@echo ">>>" $<
\r
$(CC) $(CFLAGS) -Wno-unused -c $< -o $@
\r
\r
@echo ">>>" $<
\r
$(CC) $(CFLAGS) -Wno-unused -c $< -o $@
\r
\r
-# ?
\r
+data/bg32.o: data/bg32.bin
\r
+ bin2o -i $< $@ bgdatac32
\r
+
\r
+data/bg40.o: data/bg40.bin
\r
+ bin2o -i $< $@ bgdatac40
\r
+
\r
+#
\r
up: EBOOT.PBP
\r
@cp -v $^ /media/disk/PSP/GAME/PicoDrive/
\r
\r
up: EBOOT.PBP
\r
@cp -v $^ /media/disk/PSP/GAME/PicoDrive/
\r
\r