X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=Makefile;h=673e768c9d51ab6fa1d00e5aadfaf876f7ad5835;hp=69c4f5e2cbc5d4ab72ac254395bea4d894c6d27b;hb=e7267688b48c7e6619cab3dafe61212b166b389b;hpb=3c70c47bb2fa50066c4c3b23813253e03b8751fe diff --git a/Makefile b/Makefile index 69c4f5e2..673e768c 100644 --- a/Makefile +++ b/Makefile @@ -28,6 +28,7 @@ OBJS += libpcsxcore/cdriso.o libpcsxcore/cdrom.o libpcsxcore/cheat.o libpcsxcore # dynarec ifndef NO_NEW_DRC OBJS += libpcsxcore/new_dynarec/new_dynarec.o libpcsxcore/new_dynarec/linkage_arm.o +OBJS += libpcsxcore/new_dynarec/pcsxmem.o endif OBJS += libpcsxcore/new_dynarec/emu_if.o libpcsxcore/new_dynarec/new_dynarec.o: libpcsxcore/new_dynarec/assem_arm.c @@ -47,12 +48,15 @@ ifdef X11 LDFLAGS += -lX11 -lXv OBJS += plugins/dfxvideo/draw.o else -CFLAGS += -D_MACGL # disables X in dfxvideo +plugins/dfxvideo/%.o: CFLAGS += -D_MACGL # disables X in dfxvideo OBJS += plugins/dfxvideo/draw_fb.o endif +# cdrcimg +plugins/cdrcimg/%.o: CFLAGS += -Wall +OBJS += plugins/cdrcimg/cdrcimg.o # gui -OBJS += gui/Config.o gui/Plugin.o +OBJS += gui/Plugin.o OBJS += frontend/main.o frontend/plugin.o frontend/plugin_lib.o OBJS += frontend/menu.o @@ -82,8 +86,25 @@ $(TARGET): $(OBJS) $(CC) -o $@ $^ $(LDFLAGS) -Wl,-Map=$@.map spunull.so: plugins/spunull/spunull.c - $(CC) $(CFLAGS) -shared -fPIC -o $@ $^ + $(CC) $(CFLAGS) -shared -fPIC -ggdb -O2 -o $@ $^ + +plugins/gpu-gles/gpuGLES.so: + make -C plugins/gpu-gles/ clean: $(RM) $(TARGET) $(OBJS) +# ----------- release ----------- + +PND_MAKE ?= $(HOME)/dev/pnd/src/pandora-libraries/testdata/scripts/pnd_make.sh + +VER ?= $(shell git describe --abbrev=0 master) + +rel: pcsx spunull.so plugins/gpu-gles/gpuGLES.so \ + pandora/pcsx.sh pandora/pcsx.pxml pandora/pcsx.png \ + pandora/picorestore pandora/readme.txt skin COPYING + rm -rf out + mkdir -p out/plugins + cp -r $^ out/ + mv out/*.so out/plugins/ + $(PND_MAKE) -p pcsx_rearmed_$(VER).pnd -d out -x pandora/pcsx.pxml -i pandora/pcsx.png -c