X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=Makefile;h=f08d9d7670155c9c740f96b671d9b671a86cbee1;hp=9c7cba96b7fbfaa76043b7ae8b0661ef3fd6e2da;hb=4a35de071887026bb6dcd6b852738a1866959df7;hpb=7890a708c71f94c549b3e87f7471647a014d4038 diff --git a/Makefile b/Makefile index 9c7cba96..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 \ @@ -183,12 +187,14 @@ 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