Re: More parallelism in makefile

Andreas Schwab (schwab@issan.informatik.uni-dortmund.de)
30 Jan 1998 11:19:21 +0100


Michael Elizabeth Chastain <mec@shout.net> writes:

|> 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