notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
frontend: show time and battery capacity
[pcsx_rearmed.git]
/
plugins
/
gpu_unai
/
Makefile
diff --git
a/plugins/gpu_unai/Makefile
b/plugins/gpu_unai/Makefile
index
92f7ade
..
026d950
100644
(file)
--- a/
plugins/gpu_unai/Makefile
+++ b/
plugins/gpu_unai/Makefile
@@
-1,14
+1,19
@@
CC = $(CROSS_COMPILE)gcc
CC = $(CROSS_COMPILE)gcc
-CFLAGS += -fPIC -Wall -DREARMED
+CFLAGS += -ggdb -fPIC -Wall -DREARMED
+ifndef DEBUG
CFLAGS += -O2 -ffast-math -fomit-frame-pointer
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
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)
TARGET = gpuPCSX4ALL.so
LDFLAGS += -shared -Wl,-soname,$(TARGET)
+-include Makefile.local
+
all: $(TARGET)
$(TARGET): gpu.cpp ../../frontend/arm_utils.s
all: $(TARGET)
$(TARGET): gpu.cpp ../../frontend/arm_utils.s