automake
[Top][All Lists]
Advanced

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

Re: How to write a Makefile letting 'ld' print a link map?


From: Ralf Wildenhues
Subject: Re: How to write a Makefile letting 'ld' print a link map?
Date: Tue, 15 Nov 2005 16:21:13 +0100
User-agent: Mutt/1.5.11

Hi Steven,

* Steven Woody wrote on Tue, Nov 15, 2005 at 02:23:50PM CET:
> 
> the 'ld' has an option letting me print a link map, but this option need an
> file name as argument.  so i can not simply specify a LDFLAGS since that is
> different map file name for each object or executable. What do i do? thanks.

Use per-target flags:

bin_PROGRAMS = foo bar
foo_LDFLAGS = -some -flags
bar_LDFLAGS = -some -other -flags

Cheers,
Ralf




reply via email to

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