3 # Mutopia Makefile Project
5 # Rename this file to GNUmakefile, and issue `make help'
10 # Magic: find and include LilyPond's StepMake rules
12 # First, try source tree
13 # Second, try installed tree in $HOME
14 # Third, try system installed tree
17 ##For testing installed lily
18 ##make-root=$(wildcard $(HOME)/tmp/test/usr/share/lilypond/make)
21 make-root=$(wildcard $(HOME)/usr/src/lilypond/make)
22 make-root?=$(wildcard /usr/share/lilypond/make)
23 make-root?=$(wildcard /usr/share/lilypond/make)
25 $(message running from $(make-root))
27 LOCALSTEPMAKE_TEMPLATES=ly mutopia
28 include $(make-root)/stepmake.make
30 $(error can't find LilyPond's stepmake installation)
36 # Mutopia/user targets.
37 # This needs some work.
40 parts=$(patsubst %.ly,%,$(wildcard *-part.ly))
42 mutopia-examples=$(name)