Statistics
| Revision:

root / trunk / scripts / admb / adcomp @ 1397

History | View | Annotate | Download (276 Bytes)

1
#!/bin/bash
2
#
3
# Copyright (c) 2013 ADMB Foundation
4
#
5
args=
6
for arg in $*
7
do
8
  extension="${arg#*.}"
9
  if [ "-" = "${arg:0:1}" ]; then
10
    args="$args $arg"
11
  elif [ "$extension" = "$arg" ]; then
12
    args="$args ${arg}.cpp"
13
  else
14
    args="$args $arg"
15
  fi
16
done
17
admb -c $args