Re: Makefile ignores source

2012-03-28 Thread Harlan Stenn
> I want to build a target like this: > > $ cat Makefile.am > bin_PROGRAMS = prog > prog_SOURCES = file.f ../lib/lib.o Try prog_LDADD, and see http://www.gnu.org/software/automake/manual/automake.html#Program-and-Library-Variables H

Makefile ignores source

2012-03-28 Thread Justin Findlay
I want to build a target like this: $ cat Makefile.am bin_PROGRAMS = prog prog_SOURCES = file.f ../lib/lib.o prog_SOURCES propagates as defined through to the Makefile, but I can't figure out why `make prog` doesn't include ../lib/lib.o in the gfortran invocation. Is there a way to accomplish