Hello all,

I've Googled for this on my lunch break, can't find the answer :(
I have a bunch of .d and .lo files that I want to have generated from the corresponding .c files in an out-of-tree build. The root of the source directory is in $(srcdir), which in my experiments is in ../ Hence, the rule I tried to apply was:


%.d : $(srcdir)/$(subst .d,.c,$@)
        blah

$@, however, is empty here (as the docs duely indicate).

Is there any way to do this properly?

Thanks!

rlc




_______________________________________________ Help-make mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to