Moved libretro’s target to the build folder

This commit is contained in:
Lior Halphon 2017-10-12 22:26:56 +03:00
parent 40e4f93637
commit 49095ebc5e

View File

@ -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