plugin build hack
[pcsx_rearmed.git] / Makefile
index 9c7cba9..5f65f38 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -183,12 +183,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 +210,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