From 49095ebc5e7aa3f1143cd4baaeb82b39df1b85df Mon Sep 17 00:00:00 2001 From: Lior Halphon Date: Thu, 12 Oct 2017 22:26:56 +0300 Subject: [PATCH] =?UTF-8?q?Moved=20libretro=E2=80=99s=20target=20to=20the?= =?UTF-8?q?=20build=20folder?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile.libretro | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile.libretro b/Makefile.libretro index 68af373..40077a2 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -113,6 +113,8 @@ else SHARED := -shared -static-libgcc -static-libstdc++ -s -Wl,--version-script=$(CORE_DIR)/libretro/link.T -Wl,--no-undefined endif +TARGET := build/bin/libretro/$(TARGET) + # To force use of the Unix version instead of the Windows version MKDIR := $(shell which mkdir) @@ -144,6 +146,7 @@ $(CORE_DIR)/build/bin/BootROMs/%_boot.bin: make -C $(CORE_DIR) $@ $(TARGET): $(OBJECTS) + -@$(MKDIR) -p $(dir $@) ifeq ($(STATIC_LINKING), 1) $(AR) rcs $@ $(OBJECTS) else