lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More makefile oddities


From: Jan Nieuwenhuizen
Subject: Re: More makefile oddities
Date: Fri, 11 Mar 2005 20:51:48 +0100
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

Matthias Kilian writes:

> Has anyone an idea what's going on here?

That's because of what happens in include, quite kinky stuff.

Try:

depth=../..

IMAGES=$(wildcard *.png)

OUT_EPS_IMAGES=$(addprefix $(outdir)/,$(IMAGES:.png=.eps))

include $(depth)/make/stepmake.make

.PHONY: foo bar
foo:
        @echo $(OUT_EPS_IMAGES)

bar: $(OUT_EPS_IMAGES)

$(outdir)/%.png: %.png
        convert -geometry 50x50% $< $@

$(outdir)/%.eps: %.png
        convert $< $@

Jan.

-- 
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]