A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Have fortran SMPI compilers output in current folder, not in source one
[simgrid.git]
/
src
/
smpi
/
smpiff.in
diff --git
a/src/smpi/smpiff.in
b/src/smpi/smpiff.in
index
42120a7
..
0ab2d28
100644
(file)
--- a/
src/smpi/smpiff.in
+++ b/
src/smpi/smpiff.in
@@
-53,13
+53,15
@@
while [ $# -gt 0 ]; do
list_add CMDLINE "-c"
;;
*.f)
list_add CMDLINE "-c"
;;
*.f)
+ FILENAME=`basename ${ARG}`
TMPFILE=$(mymktemp "${ARG}" ".f")
TMPFILE=$(mymktemp "${ARG}" ".f")
- ORIGFILE="${
ARG
%.f}"
+ ORIGFILE="${
FILENAME
%.f}"
filter_and_compile
;;
filter_and_compile
;;
- *.F)
+ *.F)$
+ FILENAME=`basename ${ARG}`
TMPFILE=$(mymktemp "${ARG}" ".F")
TMPFILE=$(mymktemp "${ARG}" ".F")
- ORIGFILE="${
ARG
%.F}"
+ ORIGFILE="${
FILENAME
%.F}"
filter_and_compile
;;
'-version' | '--version')
filter_and_compile
;;
'-version' | '--version')