autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dual Language Question


From: Lance Westerhoff
Subject: Re: Dual Language Question
Date: Wed, 29 Oct 2003 13:25:26 -0500

That did it.  Thanks for your help!

-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 $@







reply via email to

[Prev in Thread] Current Thread [Next in Thread]