mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-23 16:20:57 +08:00
[svn-r23379] HDFFV-8297 h5fc does not recognize files ending in .f95, .f03, and .f08 as source files
added missing extensions. Tested: jam (gnu)
This commit is contained in:
parent
76a8599736
commit
626fb1b02f
@ -233,8 +233,13 @@ for arg in $@ ; do
|
||||
*) allargs="$allargs $arg"
|
||||
if [ -s "$arg" ] ; then
|
||||
ext=`expr "$arg" : '.*\(\..*\)'`
|
||||
if [ "$ext" = ".f" -o "$ext" = ".F" -o "$ext" = ".f90" -o \
|
||||
"$ext" = ".for" -o "$ext" = ".FOR" -o "$ext" = ".F90" ] ; then
|
||||
if [ "$ext" = ".f" -o "$ext" = ".F" -o \
|
||||
"$ext" = ".for" -o "$ext" = ".FOR" -o \
|
||||
"$ext" = ".ftn" -o "$ext" = ".FTN" -o \
|
||||
"$ext" = ".f90" -o "$ext" = ".F90" -o \
|
||||
"$ext" = ".f95" -o "$ext" = ".F95" -o \
|
||||
"$ext" = ".f03" -o "$ext" = ".F03" -o \
|
||||
"$ext" = ".f08" -o "$ext" = ".F08" ] ; then
|
||||
do_compile="yes"
|
||||
compile_args="$compile_args $arg"
|
||||
fname=`basename $arg $ext`
|
||||
|
Loading…
Reference in New Issue
Block a user