Revision 915

trunk/scripts/admb/admb (revision 915)
63 63
tpls=
64 64
srcs=
65 65
objs=
66
nontpls=
66 67

  
67 68
for file in $*
68 69
do
......
73 74
    tpls="$tpls ${file%.*}"
74 75
  elif [ "$extension" = "cpp" -o "$extension" = "c" ]; then
75 76
    srcs="$srcs $file"
77
    nontpls="$nontpls $file"
76 78
  elif [ "$extension" = "o" -o "$extension" = "obj" ]; then
77 79
    objs="$objs $file"
80
    nontpls="$nontpls $file"
78 81
  fi
79 82
done
80 83

  
......
174 177
  CMD="adlink $d $g $r $s $objs"
175 178
  echo -e \\n\*\*\* $CMD
176 179
  eval $CMD
177
  declare -a amodel=( $objs )
180
  declare -a amodel=( $nontpls )
178 181
  m=${amodel[0]}
179 182
  m2=${m%.*}
180 183
  if [[ -z $dll ]]; then 

Also available in: Unified diff