X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=plugins%2Fgpu_unai%2FMakefile;h=80f82aef2ba595d5b27186cf5e86a31ab06d8555;hp=636c31bf1c29d73944bababe9e46e0c4921aed6a;hb=15776b68de021ae41ebd5d8d646beca694c3784d;hpb=297b3d633ad25797a4f355c57964b7ce3aee6936 diff --git a/plugins/gpu_unai/Makefile b/plugins/gpu_unai/Makefile index 636c31bf..80f82aef 100644 --- a/plugins/gpu_unai/Makefile +++ b/plugins/gpu_unai/Makefile @@ -4,16 +4,19 @@ CFLAGS += -ggdb -fPIC -Wall -DREARMED ifndef DEBUG CFLAGS += -O2 -ffast-math -fomit-frame-pointer endif +ifdef MAEMO +CFLAGS += -DMAEMO +endif CFLAGS += -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -# -fschedule-insns (from -O2+) causes bugs, probably bad asm() statements -CFLAGS += -fno-schedule-insns -fno-schedule-insns2 TARGET = gpuPCSX4ALL.so LDFLAGS += -shared -Wl,-soname,$(TARGET) +-include Makefile.local + all: $(TARGET) -$(TARGET): gpu.cpp ../../frontend/arm_utils.s +$(TARGET): gpu.cpp ../../frontend/cspace_neon.s $(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS) # $(TARGET): *.h