view cdg-hybrid/makecdg.sh @ 85:332bff2bd3b4

rm src/ui/bmi/mmiBtips* This code came from LoCosto version of BMI, but it is not compiled in our TCS2/TCS3 hybrid, and it is an area of functionality (Bluetooth) which we principally Do Not Want in FreeCalypso - so remove it.
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 08 Nov 2020 00:38:23 +0000
parents 35f7a1dc9f7d
children
line wrap: on
line source

#!/bin/sh

set -e

rm -rf tempout
mkdir tempout

# The arguments to ccdgen have been taken from TCS211 pdt_*.mak makefiles.

../toolwrap/ccdgen -h -m512 -a2 -ifflags.h -otempout -Rpdf-mdf-list

echo "Converting from CRLF to UNIX line endings"

rm -rf cdginc
mkdir cdginc

# fromdos comes with Slackware, dunno about other distros
for i in `cat gen-file-list`
do
	fromdos < tempout/$i > cdginc/$i
done