diff options
Diffstat (limited to 'plugins/gpu_neon/Makefile')
-rw-r--r-- | plugins/gpu_neon/Makefile | 15 |
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) |