Revision 1621 trunk/scripts/admb/admb

admb (revision 1621)
193 193
  fi
194 194

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

  
......
211 211
    exit 1
212 212
  fi
213 213
  fileobj=${file%.*}.obj
214
  CMD="$CXX -c $CXXFLAGS -o$fileobj $file"
214
  CMD="$CXX -c $CXXFLAGS -o $fileobj $file"
215 215
  echo -e \\n\*\*\* Compile: $file\\n$CMD
216 216
  eval $CMD
217 217
  if [[ ! -f $fileobj ]]; then
......
242 242
    model=${file%.*}
243 243
  fi
244 244
  if [ ! -z  "$dll" ]; then
245
    CMD="$CXX $LDFLAGS -o$model.so"
245
    CMD="$CXX $LDFLAGS -o $model.so"
246 246
  else
247
    CMD="$CXX $LDFLAGS -o$model"
247
    CMD="$CXX $LDFLAGS -o $model"
248 248
  fi
249 249
  CMD="$CMD $file $objs"
250 250
  if [ ! -f "$ADMB_HOME/contrib/lib/libcontrib.a" ]; then
......
295 295
    fi
296 296
  done
297 297
  if [ ! -z  "$dll" ]; then
298
    CMD="$CXX $LDFLAGS -o$outputfilebasename.so"
298
    CMD="$CXX $LDFLAGS -o $outputfilebasename.so"
299 299
  else
300
    CMD="$CXX $LDFLAGS -o$outputfilebasename"
300
    CMD="$CXX $LDFLAGS -o $outputfilebasename"
301 301
  fi
302 302
  CMD="$CMD $listobjs"
303 303
  if [ ! -f "$ADMB_HOME/contrib/lib/libcontrib.a" ]; then

Also available in: Unified diff