lilypond-user
[Top][All Lists]
Advanced

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

Re: utility: makedepend_ly


From: CJ Bell
Subject: Re: utility: makedepend_ly
Date: Mon, 15 Dec 2008 04:11:39 -0800

Fixed a bug. I forgot how prerequisites work in make.


Example Makefile:

DEPENDS = .depends
DEPLINKS = .depends_ln
MAKEDEPEND = ./makedepend_ly

SRCS = fullscore.ly parts.ly

all: full parts

depend: $(SRCS)
        $(MAKEDEPEND) -f$(DEPENDS) -o.ps --linkspaces=$(DEPLINKS) $(SRCS)

clean:
        rm -f *.pdf *.ps *.dvi $(DEPENDS)
        rm -rf $(DEPLINKS)

full: fullscore.ps

parts: parts.ps


%.ps: %.ly
        $(LILYPOND) $(LYFLAGS) --ps $<

%.pdf: %.ly
        $(LILYPOND) $(LYFLAGS) --pdf $<

-include $(DEPENDS)



-cj

Attachment: makedepend_ly
Description: Text document


reply via email to

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