aboutsummaryrefslogtreecommitdiff
path: root/plugins/gpu_neon/Makefile
diff options
context:
space:
mode:
authorGrazvydas Ignotas2011-03-04 18:51:55 +0200
committernotaz2011-08-13 00:57:32 +0300
commit1ab64c5413f79cc38f9b17520df69a4e01041046 (patch)
treebbefeea77932a76f098fd9b7cd9ed054685883f2 /plugins/gpu_neon/Makefile
parentc006d9e3d7b4c7f0fda6c27062e362cfc7515630 (diff)
downloadpcsx_rearmed-1ab64c5413f79cc38f9b17520df69a4e01041046.tar.gz
pcsx_rearmed-1ab64c5413f79cc38f9b17520df69a4e01041046.tar.bz2
pcsx_rearmed-1ab64c5413f79cc38f9b17520df69a4e01041046.zip
gpu_neon: basic skeleton gpu plugin
Diffstat (limited to 'plugins/gpu_neon/Makefile')
-rw-r--r--plugins/gpu_neon/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/plugins/gpu_neon/Makefile b/plugins/gpu_neon/Makefile
new file mode 100644
index 0000000..aab989f
--- /dev/null
+++ b/plugins/gpu_neon/Makefile
@@ -0,0 +1,15 @@
+CC = $(CROSS_COMPILE)gcc
+CFLAGS += -ggdb -Wall -fPIC
+CFLAGS += -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp
+
+TARGET = gpu_neon.so
+LDFLAGS += -shared -Wl,-soname,$(TARGET)
+SRC += gpu.c ../../frontend/arm_utils.s
+
+all: $(TARGET)
+
+$(TARGET): $(SRC)
+ $(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS)
+
+clean:
+ $(RM) $(TARGET)