Fix MinGW target.

This commit is contained in:
Anthony J. Bentley
2014-09-24 03:17:33 -06:00
parent e3df758897
commit f3394f46b4
2 changed files with 5 additions and 2 deletions

View File

@@ -93,7 +93,8 @@ src/asm/asmy.y: ${yacc_pre}
# install instructions instead.
mingw:
$Qenv PATH=/usr/local/mingw32/bin:/bin:/usr/bin:/usr/local/bin \
make CC=gcc CFLAGS="-I/usr/local/mingw32/include ${CFLAGS}"
make CC=gcc CFLAGS="-I/usr/local/mingw32/include \
-D__progname=\\\"\\\" ${CFLAGS}"
$Qmv rgbasm rgbasm.exe
$Qmv rgblink rgblink.exe
$Qmv rgbfix rgbfix.exe