can "vpath" be used to simplify some makefiles? please?

Robert P. J. Day rpjday at mindspring.com
Thu May 11 11:05:14 UTC 2006


  at the moment, the included makefile libbb/Makefile.in is
unnecessarily ugly because of the constant qualification of source
file names with "$(srcdir)/".  is there a reason that this can't be
simplified with a trivial use of "vpath"?  i mean, really, that's the
whole rationale for vpath.

  and it's not like vpath is not already being used elsewhere, as in
the top-level BB Makefile:

	export srctree=$(top_srcdir)
	vpath %/Config.in $(srctree)

  so, is there any major objection to this kind of change?

rday




More information about the busybox mailing list