Revision 1162 trunk/scripts/admb/admb

admb (revision 1162)
30 30
PATH=$ADMB_HOME/bin:$PATH
31 31

  
32 32
# Pop args until model=$1
33
unset debug
33 34
unset bounds
34 35
unset d
35 36
unset dll
......
44 45
  case $A in
45 46
    d) d=-d; dll=-dll
46 47
       ;;
47
    g) g=-g
48
    g) g=-g; debug=-debug
48 49
       ;;
49 50
    r) r=-r; tpl2cpp=tpl2rem
50 51
       ;;
......
96 97
  rm -vf tfile1 tfile2 tfile3 tfile4 tfile5
97 98
  rm -f $model.cpp $model.htp $model.o $model
98 99

  
99
  CMD="$tpl2cpp $bounds $dll $model"
100
  CMD="$tpl2cpp $debug $bounds $dll $model"
100 101
  echo -e \\n\*\*\* $CMD
101 102
  eval $CMD
102 103
  if [ ! -f $model.cpp -o ! -f $model.htp ]; then

Also available in: Unified diff