mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
10 lines
197 B
Bash
10 lines
197 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
cd `dirname $0`
|
||
|
cc -o exe2coff exe2coff.c || exit
|
||
|
cp $1 binary.exe || exit
|
||
|
./exe2coff binary.exe || exit
|
||
|
cat cwsdstub.exe binary > binary.exe || exit
|
||
|
mv binary.exe $1
|
||
|
rm binary exe2coff
|