summaryrefslogtreecommitdiff
path: root/os/dos/make_dos_binary_selfcontained.sh
blob: c21e29d2c3a656aa4c0f8982038ec75c46e9cfd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

# $Id$

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