fix DOS command line build using build.bat or build.sh file (#272)

Co-authored-by: Steve Karg <skarg@users.sourceforge.net>
This commit is contained in:
Steve Karg
2022-05-12 14:38:04 -05:00
committed by GitHub
parent b0bed813de
commit 1c1b676247
2 changed files with 23 additions and 10 deletions
+10 -5
View File
@@ -1,7 +1,12 @@
#!/bin/sh
rm -rf _build
mkdir _build
cd _build
cmake ..
make
alias make=mingw32-make.exe
PATH=/c/MinGW/bin:$PATH
export MAKE=mingw32-make.exe
export CC=mingw32-gcc.exe
export OBJCOPY=objcopy.exe
export AR=ar.exe
export SIZE=size.exe
make clean
make all