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:
@@ -1,10 +1,18 @@
|
||||
@echo off
|
||||
echo Build with MinGW and MSYS: mingw.sourceforge.net
|
||||
rem set PATH=C:\MinGW\msys\1.0\bin;C:\MinGW\bin
|
||||
echo Build with MinGW32 and MSYS: mingw.sourceforge.net
|
||||
set PATH=C:\MinGW\msys\1.0\bin;C:\MinGW\bin;%PATH%
|
||||
rem assumes rm, cp, size are already in path
|
||||
set CC=gcc
|
||||
set AR=ar
|
||||
set MAKE=make
|
||||
set CC=mingw32-gcc.exe
|
||||
set AR=mingw32-gcc-ar.exe
|
||||
set NM=mingw32-gcc-nm.exe
|
||||
set NM=mingw32-gcc-nm.exe
|
||||
set OBJCOPY=objcopy.exe
|
||||
set SIZE=size.exe
|
||||
set MAKE=mingw32-make.exe
|
||||
|
||||
doskey make = mingw32-make.exe $*
|
||||
|
||||
make BACNET_PORT=win32 clean
|
||||
make BACNET_PORT=win32 BUILD=release clean all
|
||||
|
||||
rem Build for MinGW debug
|
||||
|
||||
Reference in New Issue
Block a user