From 79e732f010d48046a54ea6fb42a7bc027d4cbbe1 Mon Sep 17 00:00:00 2001 From: Thomas Daley Date: Mon, 25 Jan 2016 17:04:09 -0600 Subject: Move psp sdk include to after including Makefile.common so it properly appends includes instead of being overwritten --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3