Michael Elizabeth Chastain <mec@shout.net> writes:
mec> Also I've had problems with dynamic % dependencies like this:
mec> $(addsuffix _modules,$(SUBDIRS)): %_modules: include/linux/version.h
mec> The dependency doesn't have a % substitution, so why not just this:
mec> $(addsuffix _modules,$(SUBDIRS)): include/linux/version.h
andreas> Because $* will be different.
Hmmm, ok. I would use ($@:%_modules=%) instead of $*. I can't point
to specific problem I had with the %_modules way but I just remember
having one.
Regards,
Michael Chastain
<mailto:mec@shout.net>
"love without fear"