-Lance
On Wednesday, October 29, 2003, at 10:50 AM, John Levon wrote:
On Wed, Oct 29, 2003 at 10:32:39AM -0500, Lance Westerhoff wrote:
Is it possible to define the linker separately from the compiler so that I can use either the f90 compiler or the c++ compiler depending upon the requirements of the project?
Use _LINK e.g.
if whatever LINKER=$(CXX) else LINKER=$(WHATEVER) endif
yourprogram_LINK = $(LINKER) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@