/[svn]/cduce_mktop
ViewVC logotype

Contents of /cduce_mktop

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1508 - (show annotations)
Tue Jul 10 18:58:02 2007 UTC (5 years, 10 months ago) by abate
File size: 493 byte(s)
[r2005-03-04 16:11:39 by afrisch] Empty log message

Original author: afrisch
Date: 2005-03-04 16:11:40+00:00
1 #!/bin/sh
2
3 FLAGS=
4
5 while true; do
6 case "$1" in
7 -I)
8 FLAGS="$FLAGS -I $2"
9 shift
10 shift
11 ;;
12 -p)
13 FLAGS="$FLAGS -I `ocamlfind query $2`"
14 shift
15 shift
16 ;;
17 *)
18 break
19 ;;
20 esac
21 done
22
23 echo $FLAGS
24
25 TARG=$1
26 PRIMS=$2
27
28 if [ "${TARG}" = "" ] || [ "${PRIMS}" = "" ]; then
29 echo "Usage: cduce_mktop [(-I path | -p package) ...] <target> <primitive file>"
30 exit 2
31 fi
32
33 exec ocamlfind ocamlc -package cduce -o $TARG -linkpkg -pp "mlcduce_wrapper $FLAGS" -impl $PRIMS

Properties

Name Value
svn:executable *

CVS Admin">CVS Admin
ViewVC Help
Powered by ViewVC 1.1.5