frontend: merge updates from SDL project
[pcsx_rearmed.git] / Makefile
index d40985b..5f65f38 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -179,16 +179,18 @@ frontend/revision.h: FORCE
 $(TARGET): $(OBJS)
        $(CC) -o $@ $^ $(LDFLAGS) -Wl,-Map=$@.map
 
-PLUGINS ?= plugins/spunull/spunull.so plugins/gpu-gles/gpuGLES.so \
+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