From 90ca49139cdc64ab374f2e763cb4c28fffd0a7b8 Mon Sep 17 00:00:00 2001 From: notaz Date: Tue, 20 Dec 2011 23:56:35 +0200 Subject: gpu_neon: integrate Exophase's rasterizer --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 8d49f10..611d5c3 100644 --- a/Makefile +++ b/Makefile @@ -96,10 +96,16 @@ endif # gpu OBJS += plugins/gpu_neon/gpu.o +ifeq "$(HAVE_NEON)" "1" +OBJS += plugins/gpu_neon/psx_gpu_if.o plugins/gpu_neon/psx_gpu/psx_gpu_arm_neon.o +plugins/gpu_neon/psx_gpu_if.o: CFLAGS += -DNEON_BUILD -DTEXTURE_CACHE_4BPP -DTEXTURE_CACHE_8BPP +plugins/gpu_neon/psx_gpu_if.o: plugins/gpu_neon/psx_gpu/*.c +else # note: code is not safe for strict-aliasing? (Castlevania problems) plugins/gpu_neon/peops_if.o: CFLAGS += -fno-strict-aliasing plugins/gpu_neon/peops_if.o: plugins/dfxvideo/prim.c plugins/dfxvideo/soft.c OBJS += plugins/gpu_neon/peops_if.o +endif ifdef X11 LDFLAGS += -lX11 `sdl-config --libs` OBJS += plugins/gpu_neon/vout_sdl.o @@ -170,6 +176,8 @@ frontend/revision.h: FORCE @rm $@_ .PHONY: FORCE +%.o: %.S + $(CC) $(CFLAGS) -c $^ -o $@ $(TARGET): $(OBJS) $(CC) -o $@ $^ $(LDFLAGS) -Wl,-Map=$@.map -- cgit v1.2.3