[Top][All Lists]

[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: : $(DEPSDIR)/$$(notdir %).dep

So I can run:
make <whatever_path>/

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

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:
Sent from the Gnu - Make - Help mailing list archive at

reply via email to

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