X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=Makefile;h=f08d9d7670155c9c740f96b671d9b671a86cbee1;hp=d40985ba6727b07dda38ab393b119cdd172098fa;hb=4a35de071887026bb6dcd6b852738a1866959df7;hpb=62d7fa9555924ab8e152b546711d27add640b102 diff --git a/Makefile b/Makefile index d40985ba..f08d9d76 100644 --- a/Makefile +++ b/Makefile @@ -11,6 +11,7 @@ ARM926 ?= 0 ARM_CORTEXA8 ?= 1 PLATFORM ?= pandora USE_OSS ?= 1 +RAM_FIXED ?= 1 #USE_ALSA = 1 #DRC_DBG = 1 #PCNT = 1 @@ -75,6 +76,9 @@ ifdef DRC_DBG libpcsxcore/new_dynarec/emu_if.o: CFLAGS += -D_FILE_OFFSET_BITS=64 CFLAGS += -DDRC_DBG endif +ifeq "$(RAM_FIXED)" "1" +CFLAGS += -DRAM_FIXED +endif # spu OBJS += plugins/dfsound/dma.o plugins/dfsound/freeze.o \ @@ -179,16 +183,18 @@ frontend/revision.h: FORCE $(TARGET): $(OBJS) $(CC) -o $@ $^ $(LDFLAGS) -Wl,-Map=$@.map -PLUGINS ?= plugins/spunull/spunull.so plugins/gpu-gles/gpuGLES.so \ +PLUGINS ?= plugins/spunull/spunull.so plugins/gpu-gles/gpu_gles.so \ plugins/gpu_unai/gpu_unai.so plugins/dfxvideo/gpu_peops.so $(PLUGINS): + make -C plugins/gpulib/ clean make -C $(dir $@) clean: $(PLAT_CLEAN) $(RM) $(TARGET) $(OBJS) $(TARGET).map clean_plugins: + make -C plugins/gpulib/ clean for dir in $(PLUGINS) ; do \ $(MAKE) -C $$(dirname $$dir) clean; done @@ -208,5 +214,6 @@ rel: pcsx $(PLUGINS) \ rm out/pcsx.pxml.templ mv out/*.so out/plugins/ mv out/plugins/gpu_unai.so out/plugins/gpuPCSX4ALL.so + mv out/plugins/gpu_gles.so out/plugins/gpuGLES.so mv out/plugins/gpu_peops.so out/plugins/gpuPEOPS.so $(PND_MAKE) -p pcsx_rearmed_$(VER).pnd -d out -x out/pcsx.pxml -i frontend/pandora/pcsx.png -c