Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
In smpiff/smpif90 program, make -o consume the next argument.
[simgrid.git] / src / smpi / smpif90.in
index 200d7a6..04a16d6 100644 (file)
@@ -65,6 +65,10 @@ while [ $# -gt 0 ]; do
         '-compiler-version' | '--compiler-version')
             ${F90} --version
             ;;
+        -o)
+            list_add CMDLINE "-o$1"
+            shift
+            ;;
         *)
             list_add CMDLINE "${ARG}"
             ;;