>> A limitation is that the directories in `VPATH' are not expanded >> and must be given directly (this seems to be undocumented; I'll >> contact the GNU make people): > > This was my mistake. I forgot about the `shell' function. Here's a > revised version of the Makefile.
And two other corrections: `make' provides the CURDIR variable automatically, and using `:=' immediately sets `VPATH' to its final value. Werner ====================================================================== piece = stamitz LILY_CMD = lilypond -ddelete-intermediate-files \ -dno-point-and-click .SUFFIXES: .ly .pdf .midi VPATH := $(CURDIR)/Scores $(CURDIR)/PDF %.pdf %.midi: %.ly cd PDF; $(LILY_CMD) $< .PHONY: score score: ${piece}.pdf _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel