lkml.org 
[lkml]   [1998]   [Jan]   [30]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: More parallelism in makefile
FromAndreas Schwab <>
Date30 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

\
 
 \ /
  Last update: 2005-03-22 12:41    [from the cache]
©2003-2008