Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
elpa
elpa
Commits
a11cff4e
Commit
a11cff4e
authored
May 21, 2015
by
Lorenz Huedepohl
Browse files
Fix: Dashes are also converted to underscores
parent
df8ea7e3
Changes
3
Hide whitespace changes
Inline
Side-by-side
fortran_dependencies.mk
View file @
a11cff4e
...
...
@@ -7,7 +7,7 @@
_f90_verbose
=
$
(
_f90_verbose_
$(V)
)
_f90_verbose_
=
$
(
_f90_verbose_
$(AM_DEFAULT_VERBOSITY)
)
_f90_verbose_0
=
@echo
"
$1
"
;
_f90_targets
=
$(
subst
.,_,
$(bin_PROGRAMS)
$(lib_LTLIBRARIES)
)
_f90_targets
=
$(
subst
-,_,
$(
subst
.,_,
$(bin_PROGRAMS)
$(lib_LTLIBRARIES)
)
)
FORTRAN_CPP
?=
cpp
-P
-traditional
-Wall
-Werror
...
...
test_project/Makefile.am
View file @
a11cff4e
...
...
@@ -18,10 +18,10 @@ test_baz_CPPFLAGS = -DPROGRAM_test_baz
test_baz_FCFLAGS
=
$(FC_MODOUT)
./fortran_mod_files/test_baz
$(FC_MODINC)
./fortran_mod_files/test_baz
# a library
lib_LTLIBRARIES
=
libdings.la
lib_LTLIBRARIES
=
libdings
-2
.la
libdings_la_SOURCES
=
src2/baz.F90 src/bar.F90
libdings_la_FCFLAGS
=
$(FC_MODOUT)
./fortran_mod_files/libdings.la
$(FC_MODINC)
./fortran_mod_files/libdings.la
libdings_
2_
la_SOURCES
=
src2/baz.F90 src/bar.F90
libdings_
2_
la_FCFLAGS
=
$(FC_MODOUT)
./fortran_mod_files/libdings
-2
.la
$(FC_MODINC)
./fortran_mod_files/libdings
-2
.la
CLEANFILES
=
fortran_mod_files/
*
/
*
...
...
test_project/configure.ac
View file @
a11cff4e
...
...
@@ -32,6 +32,6 @@ AC_SUBST([FC_MODOUT])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT
for target in foo test_bar test_baz libdings.la; do
for target in foo test_bar test_baz libdings
-2
.la; do
mkdir -p fortran_mod_files/$target
done
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment