#! /bin/sh
+# Copyright (c) 2010-2014. The SimGrid Team.
+# All rights reserved.
+
+# This program is free software; you can redistribute it and/or modify it
+# under the terms of the license (GNU LGPL) which comes with this package.
+
prefix="@exec_prefix@"
smpicc="$prefix/bin/smpicc"
smpif2c="$prefix/bin/smpif2c"
;;
esac
done
-list_add ARGS "${LINKARGS}"
+list_add_not_empty ARGS "${LINKARGS}"
build () {
local SRCFILE
- SCFILE="$1"
+ SRCFILE="$1"
TMPFILE=$(mymktemp "${SRCFILE}" ".f")
CFILE="${TMPFILE%.f}.c"