cdrom: change pause timing again
[pcsx_rearmed.git] / plugins / gpu_unai / Makefile
index dd9e4ca..756d19a 100644 (file)
@@ -1,17 +1,19 @@
-CC = $(CROSS_COMPILE)g++
-
-ARCH = $(shell $(CC) -v 2>&1 | grep -i 'target:' | awk '{print $$2}' | awk -F '-' '{print $$1}')
-
+CFLAGS += -ggdb -Wall -O3 -ffast-math
 CFLAGS += -DREARMED
-CFLAGS += -ggdb -Wall -fPIC -O2 -ffast-math
+CFLAGS += -I../../include
+#CFLAGS += -DINLINE="static __inline__"
+#CFLAGS += -Dasm="__asm__ __volatile__"
+CFLAGS += -DUSE_GPULIB=1
+
+include ../../config.mak
 
 SRC_STANDALONE += gpu.cpp
 SRC_GPULIB += gpulib_if.cpp
 
 ifeq "$(ARCH)" "arm"
-SRC += gpu_arm.s
+SRC += gpu_arm.S
 endif
 
-BIN_STANDLALONE = gpuPCSX4ALL.so
+#BIN_STANDALONE = gpuPCSX4ALL.so
 BIN_GPULIB = gpu_unai.so
 include ../gpulib/gpulib.mak