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. _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
