Commit a11cff4e authored by Lorenz Huedepohl's avatar Lorenz Huedepohl

Fix: Dashes are also converted to underscores

parent df8ea7e3
......@@ -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
......
......@@ -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/*/*
......
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment