FreeCalypso > hg > fc-magnetite
comparison cdg-hybrid/makecdg.sh @ 212:e7a67accfad9
cdg-hybrid cdginc headers created
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 14 Oct 2016 21:52:58 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
211:02269c474131 | 212:e7a67accfad9 |
---|---|
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 |