From 451c066423e72b0445f3dc67e81af07a87a0fbcc Mon Sep 17 00:00:00 2001 From: jaby Date: Thu, 10 Nov 2022 23:36:23 +0100 Subject: [PATCH] Improve makefile and use PAUSE in build_all batch --- build_all.bat | 3 ++- lib/Makefile | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/build_all.bat b/build_all.bat index f96789a8..0a13604b 100644 --- a/build_all.bat +++ b/build_all.bat @@ -14,4 +14,5 @@ call build_all.bat %build_type% cd ..\Library\ call run_make.bat %build_type% release -cd ..\..\ \ No newline at end of file +cd ..\..\ +PAUSE \ No newline at end of file diff --git a/lib/Makefile b/lib/Makefile index 6167d7ac..5ec5936c 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -14,7 +14,7 @@ OUTPUT_DIR = $(BUILD_DIR)/$(CONFIG_NAME) TARGET = $(OUTPUT_DIR)/$(ARTIFACT) #Compiler definitions -HAS_LINUX_MIPS_GCC = $(shell which mipsel-linux-gnu-gcc > /dev/null 2> /dev/null && echo true || echo false) +HAS_LINUX_MIPS_GCC = $(shell which mipsel-linux-gnu-gcc-10 > /dev/null 2> /dev/null && echo true || echo false) ifeq ($(HAS_LINUX_MIPS_GCC),true) PREFIX ?= mipsel-linux-gnu FORMAT ?= elf32-tradlittlemips