aboutsummaryrefslogtreecommitdiff
path: root/plugins/gpu_unai/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/gpu_unai/Makefile')
-rw-r--r--plugins/gpu_unai/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/plugins/gpu_unai/Makefile b/plugins/gpu_unai/Makefile
index 57a0371..cf2e5d2 100644
--- a/plugins/gpu_unai/Makefile
+++ b/plugins/gpu_unai/Makefile
@@ -1,9 +1,7 @@
-CC = $(CROSS_COMPILE)g++
-
-ARCH = $(shell $(CC) -v 2>&1 | grep -i 'target:' | awk '{print $$2}' | awk -F '-' '{print $$1}')
-
-CFLAGS += -DREARMED
CFLAGS += -ggdb -Wall -O3 -ffast-math
+CFLAGS += -DREARMED
+
+include ../../config.mak
SRC_STANDALONE += gpu.cpp
SRC_GPULIB += gpulib_if.cpp