X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=plugins%2Fgpu_neon%2Fpsx_gpu%2Ftests%2FMakefile;fp=plugins%2Fgpu_neon%2Fpsx_gpu%2Ftests%2FMakefile;h=210f44d6627036790fad985fa0fa0cf39faf57ac;hb=f82c62507c67309b9c020a54f6c848853d39febe;hp=0000000000000000000000000000000000000000;hpb=c979c3ee0d0bc6bece799a6f4013993d7cb2d5f3;p=pcsx_rearmed.git diff --git a/plugins/gpu_neon/psx_gpu/tests/Makefile b/plugins/gpu_neon/psx_gpu/tests/Makefile new file mode 100644 index 00000000..210f44d6 --- /dev/null +++ b/plugins/gpu_neon/psx_gpu/tests/Makefile @@ -0,0 +1,26 @@ +CC = $(CROSS_COMPILE)gcc +CFLAGS += -DTEXTURE_CACHE_4BPP -DTEXTURE_CACHE_8BPP +CFLAGS += -Wall -ggdb + +CFLAGS += `sdl-config --cflags` +LDFLAGS += `sdl-config --libs` + +VPATH += .. + +ifdef NEON +CFLAGS += -mcpu=cortex-a8 -mfpu=neon -DNEON_BUILD +ASFLAGS = $(CFLAGS) +OBJ += psx_gpu_arm_neon.o +endif +ifndef DEBUG +CFLAGS += -O2 -fno-strict-aliasing +endif + +OBJ += psx_gpu.o psx_gpu_parse.o psx_gpu_main.o + +all: psx_gpu + +psx_gpu: $(OBJ) + +clean: + $(RM) psx_gpu $(OBJ)