Reorganisation of the source tree
[ghc-hetmet.git] / utils / hsc2hs / hsc2hs.sh
1
2 tflag="--template=$HSC2HS_DIR/template-hsc.h"
3 for arg do
4     case "$arg" in
5         -c*)    HSC2HS_EXTRA=;;
6         --cc=*) HSC2HS_EXTRA=;;
7         -t*)    tflag=;;
8         --template=*) tflag=;;
9         --)     break;;
10     esac
11 done
12
13 $HSC2HS_BINDIR/$HS_PROG $tflag $HSC2HS_EXTRA "$@"