help-make
[Top][All Lists]
Advanced

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

$$(notdir %) in version 3.80


From: Paljas
Subject: $$(notdir %) in version 3.80
Date: Tue, 12 Jan 2010 02:31:21 -0800 (PST)

Hi all,

I'm want to define a rule like:
%.target : $(DEPSDIR)/$$(notdir %).dep

So I can run:
make <whatever_path>/myfile.target

And it will need $(DEPSDIR)/myfile.dep, whatever the path in <whatever_path>
is.

Does anyone know how I can do secondexpansion in GNU Make 3.80? Our company
still uses this version.
I know in 3.80 there are the SysV variables like $$(@F), but they don't work
using pattern rules (%).
SECONDEXPANSION was only intruduced in 3.81.
-- 
View this message in context: 
http://old.nabble.com/%24%24%28notdir--%29-in-version-3.80-tp27125534p27125534.html
Sent from the Gnu - Make - Help mailing list archive at Nabble.com.





reply via email to

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