|> Hi Andreas,
|> 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 $*.
That's just messy. The glibc makefiles use it a lot without problems.
-- Andreas Schwab "And now for something schwab@issan.informatik.uni-dortmund.de completely different" schwab@gnu.org