Improve makefile and use PAUSE in build_all batch

This commit is contained in:
jaby 2022-11-10 23:36:23 +01:00
parent 03253974f5
commit 451c066423
2 changed files with 3 additions and 2 deletions

View File

@ -14,4 +14,5 @@ call build_all.bat %build_type%
cd ..\Library\
call run_make.bat %build_type% release
cd ..\..\
cd ..\..\
PAUSE

View File

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