aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authornotaz2011-01-05 00:00:08 +0200
committernotaz2011-01-05 00:43:27 +0200
commitee78346e30720ddb3f4c97b6598bdc6dc7257f98 (patch)
tree080f23f683ded9feaf5c6313dafac43bcff9da78 /Makefile
parent83a79d01995051a2778784887d086689ff815667 (diff)
downloadpcsx_rearmed-ee78346e30720ddb3f4c97b6598bdc6dc7257f98.tar.gz
pcsx_rearmed-ee78346e30720ddb3f4c97b6598bdc6dc7257f98.tar.bz2
pcsx_rearmed-ee78346e30720ddb3f4c97b6598bdc6dc7257f98.zip
release r3
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 10 insertions, 6 deletions
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