Harti,

It is ugly to add $(srcdir) to the targets (and perhaps dependencies),
but that may have to happen.

If I say:

srcdir=wherever
VPATH: $(srcdir)

a: b

b: c
  cd $(srcdir) && script c > b

then it is Strange that make will correctly see that for 'a', the
dependency is 'b' and 'b' is found in $(srcdir)/b, yet for the 2nd
rule, 'b' is expected to be in the current directory.

H
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to