mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Make the Wine shims a separate target
This commit is contained in:
8
Makefile
8
Makefile
@@ -231,16 +231,12 @@ develop:
|
|||||||
mingw32:
|
mingw32:
|
||||||
$Qmake CC=i686-w64-mingw32-gcc YACC=bison \
|
$Qmake CC=i686-w64-mingw32-gcc YACC=bison \
|
||||||
PKG_CONFIG=i686-w64-mingw32-pkg-config -j
|
PKG_CONFIG=i686-w64-mingw32-pkg-config -j
|
||||||
$Qecho -e '#!/bin/sh\nWINEDEBUG=-all wine $$0.exe "$${@:1}"' > rgbshim.sh
|
|
||||||
$Qchmod +x rgbshim.sh
|
|
||||||
$Qln -s rgbshim.sh rgbasm
|
|
||||||
$Qln -s rgbshim.sh rgblink
|
|
||||||
$Qln -s rgbshim.sh rgbfix
|
|
||||||
$Qln -s rgbshim.sh rgbgfx
|
|
||||||
|
|
||||||
mingw64:
|
mingw64:
|
||||||
$Qmake CC=x86_64-w64-mingw32-gcc YACC=bison \
|
$Qmake CC=x86_64-w64-mingw32-gcc YACC=bison \
|
||||||
PKG_CONFIG=x86_64-w64-mingw32-pkg-config -j
|
PKG_CONFIG=x86_64-w64-mingw32-pkg-config -j
|
||||||
|
|
||||||
|
wine-shim:
|
||||||
$Qecho -e '#!/bin/sh\nWINEDEBUG=-all wine $$0.exe "$${@:1}"' > rgbshim.sh
|
$Qecho -e '#!/bin/sh\nWINEDEBUG=-all wine $$0.exe "$${@:1}"' > rgbshim.sh
|
||||||
$Qchmod +x rgbshim.sh
|
$Qchmod +x rgbshim.sh
|
||||||
$Qln -s rgbshim.sh rgbasm
|
$Qln -s rgbshim.sh rgbasm
|
||||||
|
|||||||
Reference in New Issue
Block a user