LDRIVER += -ggdb
NOSTRIP = 1
else
-TFLAGS += -ftracer -fstrength-reduce -funroll-loops -fomit-frame-pointer -fstrict-aliasing -ffast-math
+TFLAGS += -ftracer -fstrength-reduce -fomit-frame-pointer -fstrict-aliasing -ffast-math # -funroll-loops
TFLAGS += -O3 #-pg -fno-omit-frame-pointer
LDRIVER += -O3 #-pg -fno-omit-frame-pointer
endif
include zlib/Makefile
OBJDRIVER = ${B}minimal.o ${B}cpuctrl.o ${B}squidgehack.o ${B}asmutils.o ${B}gp2x.o ${B}main.o ${B}throttle.o \
- ${B}unix-netplay.o ${B}gp2x-sound.o ${B}gp2x-video.o ${B}usbjoy.o ${B}menu.o ${B}fonts.o \
- drivers/common/cheat.o drivers/common/config.o drivers/common/args.o drivers/common/vidblit.o ${UNZIPOBJS} ppu.o movie.o
-LDRIVER += -lm -lz -static -Wl,-Map=fceu.map
+ ${B}unix-netplay.o ${B}gp2x-sound.o ${B}gp2x-video.o ${B}usbjoy.o ${B}menu.o ${B}fonts.o ${B}readpng.o \
+ drivers/common/cheat.o drivers/common/config.o drivers/common/args.o drivers/common/vidblit.o ${UNZIPOBJS} \
+ ppu.o movie.o fceu098.o ppu098.o
+LDRIVER += -lm -lz -lpng -static -Wl,-Map=fceu.map
ifeq ($(asm_6502),1)
TFLAGS += -DASM_6502
include Makefile.common
up: fceu
- cp -v fceu /mnt/gp2x/mnt/sd/emus/gpfce/gpfce
+ cp -v fceu /mnt/gp2x/mnt/sd/emus/gpfce/gpfce.gpe
# ----------- release -----------
ifneq ($(findstring rel,$(MAKECMDGOALS)),)
endif
endif
-rel: gpfce.gpe
+rel: gpfce.gpe out_gp2x/readme.txt out_gp2x/gpfce.man.txt out_gp2x/gpfce.png out_gp2x/background.png
zip -9 -j gpfce_v$(VER).zip $^ drivers/gp2x/mmuhack.o
+ zip -9 gpfce_v$(VER).zip fceultra