aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Daley2016-01-25 17:04:09 -0600
committerThomas Daley2016-01-25 17:04:09 -0600
commit79e732f010d48046a54ea6fb42a7bc027d4cbbe1 (patch)
treeb0089925cf31e3ae361332b992d8ac812d80334a
parentf4f4201f42bfb2acb98c654a3b384e79b1de588e (diff)
downloadsnes9x2005-79e732f010d48046a54ea6fb42a7bc027d4cbbe1.tar.gz
snes9x2005-79e732f010d48046a54ea6fb42a7bc027d4cbbe1.tar.bz2
snes9x2005-79e732f010d48046a54ea6fb42a7bc027d4cbbe1.zip
Move psp sdk include to after including Makefile.common so it properly appends includes instead of being overwritten
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8793d87..daceccd 100644
--- a/Makefile
+++ b/Makefile
@@ -153,7 +153,6 @@ else ifeq ($(platform), psp1)
-fomit-frame-pointer -fgcse-sm -fgcse-las -fgcse-after-reload \
-fweb -fpeel-loops
DEFS += -DPSP -D_PSP_FW_VERSION=371
- INCFLAGS += -I$(shell psp-config --pspsdk-path)/include
STATIC_LINKING := 1
# Vita
@@ -212,6 +211,10 @@ LIBRETRO_DIR := .
include Makefile.common
+ifeq ($(platform), psp1)
+ INCFLAGS += -I$(shell psp-config --pspsdk-path)/include
+endif
+
OBJECTS := $(SOURCES_C:.c=.o)
LDFLAGS += $(fpic) $(SHARED)