mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
4e0a0db81b
- Since these are different components, distributed under a different license, mixing them in the same directory is confusing.
12 lines
249 B
Bash
Executable File
12 lines
249 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# $Id$
|
|
|
|
cd `dirname $0`
|
|
cc -o exe2coff/exe2coff exe2coff/exe2coff.c || exit
|
|
cp $1 binary.exe || exit
|
|
./exe2coff/exe2coff binary.exe || exit
|
|
cat cwsdpmi/cwsdstub.exe binary > binary.exe || exit
|
|
mv binary.exe $1
|
|
rm binary exe2coff/exe2coff
|