help-make
[Top][All Lists]
Advanced

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

stem & variable expansion in dependencies


From: Mickaël Guérin
Subject: stem & variable expansion in dependencies
Date: Fri, 5 Sep 2008 12:47:35 +0200 (CEST)
User-agent: SquirrelMail/1.5.1 [CVS]

Hi,

I'm trying to write a generic rule like this :

$(destdir)/%: $(objs-%)
  command ...

unfortunately, when I try to "make path_to/target", $(objs-%) is empty and
not replaced bu the content of $(objs-target).
I've tried with $(@F) instead of % but it was unsuccessful too.

Any idea of how I can do that ?

--
Mickaël.





reply via email to

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