Revision 1485 trunk/scripts/admb/admb

admb (revision 1485)
28 28
if [[ "$1" == "-help" ]]; then help; exit; fi
29 29
if [[ "$1" == "--help" ]]; then help; exit; fi
30 30

  
31
ADMB_HOME=
31 32
if [ -z "$ADMB_HOME" ]; then
32 33
  FILE=$0
33 34
  DIRECTORY=$(cd `dirname "$FILE"` && pwd)
......
191 192

  
192 193
  fileobj=${file%.*}.obj
193 194
  CMD="$CXX -c $CXXFLAGS -o$fileobj $file"
194
  echo -e \\n\*\*\* Compile $file:\\n$CMD
195
  echo -e \\n\*\*\* Compile: $file\\n$CMD
195 196
  eval $CMD
196 197

  
197 198
  if [[ ! -f $fileobj ]]; then
......
209 210
  fi
210 211
  fileobj=${file%.*}.obj
211 212
  CMD="$CXX -c $CXXFLAGS -o$fileobj $file"
212
  echo -e \\n\*\*\* Compile $file: \\n$CMD
213
  echo -e \\n\*\*\* Compile: $file\\n$CMD
213 214
  eval $CMD
214 215
  if [[ ! -f $fileobj ]]; then
215 216
    echo -e "\\nError: Could not compile $file\\n"
......
257 258
      CMD="$CMD \"$ADMB_HOME/contrib/lib/libcontrib.a\" \"$ADMB_HOME/lib/libadmb.a\""
258 259
    fi
259 260
  fi
260
  echo -e \\n\*\*\* Linking $file $objs:\\n$CMD
261
  echo -e \\n\*\*\* Linking: $file $objs\\n$CMD
261 262
  eval $CMD
262 263
  if [[ -z $dll ]]; then
263 264
    if [[ ! -f $model ]]; then
......
310 311
      CMD="$CMD \"$ADMB_HOME/contrib/lib/libcontrib.a\" \"$ADMB_HOME/lib/libadmb.a\""
311 312
    fi
312 313
  fi
313
  echo -e \\n\*\*\* Linking $listobjs:\\n$CMD
314
  echo -e \\n\*\*\* Linking: $listobjs\\n$CMD
314 315
  eval $CMD
315 316

  
316 317
  if [ ! -z  "$output" ]; then

Also available in: Unified diff