FreeCalypso > hg > fc-tourmaline
comparison cdg-hybrid/makecdg.sh @ 14:35f7a1dc9f7d
cdg-hybrid: import from Magnetite
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 16 Oct 2020 07:15:38 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
13:83146a4ae927 | 14:35f7a1dc9f7d |
---|---|
1 #!/bin/sh | |
2 | |
3 set -e | |
4 | |
5 rm -rf tempout | |
6 mkdir tempout | |
7 | |
8 # The arguments to ccdgen have been taken from TCS211 pdt_*.mak makefiles. | |
9 | |
10 ../toolwrap/ccdgen -h -m512 -a2 -ifflags.h -otempout -Rpdf-mdf-list | |
11 | |
12 echo "Converting from CRLF to UNIX line endings" | |
13 | |
14 rm -rf cdginc | |
15 mkdir cdginc | |
16 | |
17 # fromdos comes with Slackware, dunno about other distros | |
18 for i in `cat gen-file-list` | |
19 do | |
20 fromdos < tempout/$i > cdginc/$i | |
21 done |