From ee78346e30720ddb3f4c97b6598bdc6dc7257f98 Mon Sep 17 00:00:00 2001 From: notaz Date: Wed, 5 Jan 2011 00:00:08 +0200 Subject: release r3 --- Makefile | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 28a0c79..c822bb1 100644 --- a/Makefile +++ b/Makefile @@ -84,14 +84,18 @@ frontend/revision.h: FORCE $(TARGET): $(OBJS) $(CC) -o $@ $^ $(LDFLAGS) -Wl,-Map=$@.map -spunull.so: plugins/spunull/spunull.c - $(CC) $(CFLAGS) -shared -fPIC -ggdb -O2 -o $@ $^ +PLUGINS = plugins/spunull/spunull.so plugins/gpu_unai/gpuPCSX4ALL.so \ + plugins/gpu-gles/gpuGLES.so -plugins/gpu-gles/gpuGLES.so: - make -C plugins/gpu-gles/ +$(PLUGINS): + make -C $(dir $@) clean: - $(RM) $(TARGET) $(OBJS) + $(RM) $(TARGET) $(OBJS) $(TARGET).map + +clean_plugins: + for dir in $(PLUGINS) ; do \ + $(MAKE) -C $$(dirname $$dir) clean; done # ----------- release ----------- @@ -99,7 +103,7 @@ 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 \ +rel: pcsx $(PLUGINS) \ pandora/pcsx.sh pandora/pcsx.pxml pandora/pcsx.png \ pandora/picorestore pandora/readme.txt skin COPYING rm -rf out -- cgit v1.2.3