frontend: update libpicofe, fix missed callbacks
[pcsx_rearmed.git] / plugins / gpulib / gpulib.mak
index 035983c..65b443e 100644 (file)
@@ -1,20 +1,18 @@
 # depends on ARCH definition
-# always adding gpulib to deps in case cspace is needed
+# always adding gpulib to deps (XXX might be no longer needed)
 # users must include ../../config.mak
 
-LDFLAGS += -shared -Wl,--no-undefined
-CFLAGS += $(PLUGIN_CFLAGS)
-ifeq "$(ARCH)" "arm"
- EXT =
-else
- #LDLIBS_GPULIB += `sdl-config --libs`
- EXT = .$(ARCH)
+LDFLAGS += -shared
+ifeq ($(GNU_LINKER),1)
+LDFLAGS += -Wl,--no-undefined
 endif
+CFLAGS += $(PLUGIN_CFLAGS)
+#LDLIBS_GPULIB += `sdl-config --libs`
 ifdef DEBUG
  CFLAGS += -O0
 endif
 
-GPULIB_A = ../gpulib/gpulib$(EXT).a
+GPULIB_A = ../gpulib/gpulib.$(ARCH).a
 
 ifdef BIN_STANDALONE
 TARGETS += $(BIN_STANDALONE)
@@ -49,7 +47,7 @@ $(BIN_GPULIB): $(SRC) $(SRC_GPULIB) $(GPULIB_A)
 endif
 
 $(GPULIB_A):
-       make -C ../gpulib/ all
+       $(MAKE) -C ../gpulib/ all
 
 clean:
        $(RM) $(TARGETS)