Browse code

There is more than bin_PROGRAMS, lib_LTLIBRARIES

There is also noinst_bin_PRORGRAMS, and maybe even noinst libraries.

Lorenz Hüdepohl authored on22/05/2015 15:48:49
Showing1 changed files
... ...
@@ -7,7 +7,7 @@
7 7
 _f90_verbose = $(_f90_verbose_$(V))
8 8
 _f90_verbose_ = $(_f90_verbose_$(AM_DEFAULT_VERBOSITY))
9 9
 _f90_verbose_0 = @echo "  $1";
10
-_f90_targets = $(subst -,_,$(subst .,_,$(bin_PROGRAMS) $(lib_LTLIBRARIES)))
10
+_f90_targets = $(subst -,_,$(subst .,_,$(PROGRAMS) $(LTLIBRARIES)))
11 11
 
12 12
 FORTRAN_CPP ?= cpp -P -traditional -Wall -Werror
13 13
 
... ...
@@ -40,7 +40,7 @@ endef
40 40
 #
41 41
 # returns: the appropriate extension (i.e. 'o' for normal programs, '.lo' for libraries)
42 42
 define object_extension
43
-$(if $(filter $1,$(bin_PROGRAMS)),o,lo)
43
+$(if $(filter $1,$(PROGRAMS)),o,lo)
44 44
 endef
45 45
 
46 46
 # $1 source_file