From 5dd4735da1b08170c36c004d439e6484f7cd2715 Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 26 Nov 2008 13:12:45 +0000 Subject: (svn r14636) -Add: DOS port of OpenTTD, without network support though. --- os/dos/make_dos_binary_selfcontained.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 os/dos/make_dos_binary_selfcontained.sh (limited to 'os/dos/make_dos_binary_selfcontained.sh') diff --git a/os/dos/make_dos_binary_selfcontained.sh b/os/dos/make_dos_binary_selfcontained.sh new file mode 100755 index 000000000..de4bdb9dd --- /dev/null +++ b/os/dos/make_dos_binary_selfcontained.sh @@ -0,0 +1,9 @@ +#!/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 -- cgit v1.2.3-54-g00ecf