repo.or.cz
/
openttd.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
(svn r27747) -Update from Eints:
[openttd.git]
/
os
/
dos
/
make_dos_binary_selfcontained.sh
blob
259e5023724675f9a6c959ad3e087e94ba04fb3f
1
#!/bin/sh
2
3
# $Id$
4
5
cd
`dirname
$0
`
6
cc
-o
exe2coff
/
exe2coff exe2coff
/
exe2coff.c ||
exit
7
cp
$1
binary.exe ||
exit
8
.
/
exe2coff
/
exe2coff binary.exe ||
exit
9
cat
cwsdpmi
/
cwsdstub.exe binary
>
binary.exe ||
exit
10
mv
binary.exe
$1
11
rm
binary exe2coff
/
exe2coff