autoconf
[Top][All Lists]
Advanced

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

Re: Dual Language Question


From: John Levon
Subject: Re: Dual Language Question
Date: Wed, 29 Oct 2003 15:50:15 +0000
User-agent: Mutt/1.3.25i

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]