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 this?


Justin

Reply via email to