source: branches/initial/source/h-to-ffi-common@ 11

Last change on this file since 11 was 2, checked in by gb, 20 years ago

Initial revision

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 288 bytes
Line 
1while [ $# -gt 1 ]
2do
3 case ${1} in
4 -x)
5 shift
6 shift
7 ;;
8 *)
9 CFLAGS="${CFLAGS} ${1}"
10 shift
11 ;;
12 esac
13done
14
15echo +++ ${1}
16mkdir -p .`dirname ${1}`
17OFILE=.`dirname ${1}`/`basename ${1} .h`.ffi
18${GEN} ${CFLAGS} -o ${OFILE} ${1}
19
Note: See TracBrowser for help on using the repository browser.