Revision 1011 trunk/scripts/admb/admb

admb (revision 1011)
5 5
  -d     Create DLL
6 6
  -g     Insert debugging symbols
7 7
  -r     Create ADMB-RE
8
  -s     Enforce safe bounds
8
  -s     Enforce safe bounds (default)
9
  -O     Use optimized mode
9 10
  model  Filename prefix, e.g. simple\n"'
10 11
if [[ "$1" == "" ]]; then help; exit; fi
11 12
if [[ "$1" == "-help" ]]; then help; exit; fi
......
37 38
unset s
38 39
unset c
39 40
tpl2cpp=tpl2cpp
40
while getopts "dgrsc" A; do
41
s=-s
42
bounds=-bounds
43
while getopts "dgrscO" A; do
41 44
  case $A in
42 45
    d) d=-d; dll=-dll
43 46
       ;;
......
47 50
       ;;
48 51
    s) s=-s; bounds=-bounds
49 52
       ;;
53
    O) s=; bounds=
54
       ;;
50 55
    c) c=1
51 56
       ;;
52 57
    *)

Also available in: Unified diff