shithub: rgbds

Download patch

ref: 42faffe6f3960ef5d1543e0f1de1abce64c284a4
parent: bc80e910edc5e94cce5a6ae883bb747d1777c454
author: ISSOtm <[email protected]>
date: Thu Feb 13 18:06:05 EST 2020

Make the Wine shims a separate target

--- a/Makefile
+++ b/Makefile
@@ -231,16 +231,12 @@
 mingw32:
 	$Qmake CC=i686-w64-mingw32-gcc YACC=bison \
 		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:
 	$Qmake CC=x86_64-w64-mingw32-gcc YACC=bison \
 		PKG_CONFIG=x86_64-w64-mingw32-pkg-config -j
+
+wine-shim:
 	$Qecho -e '#!/bin/sh\nWINEDEBUG=-all wine $$0.exe "$${@:1}"' > rgbshim.sh
 	$Qchmod +x rgbshim.sh
 	$Qln -s rgbshim.sh rgbasm