]> git.donarmstrong.com Git - lilypond.git/blob - lily/GNUmakefile
release: 0.1.51
[lilypond.git] / lily / GNUmakefile
1 # lilypond/GNUmakefile
2 #
3 # This file helps maintainers to keep their Makefile.am automatically
4 # up to date using GNU make features.
5 # If you don't have (or run) GNU make, Makefile.am will not be updated
6 # automatically when source files are added/removed.
7
8 # automake/wild-make should generate this file from Makefile.am.wild
9
10 include Makefile
11
12 # Makefile.am.wild: lilypond_SOURCES = $(wildcard *.cc)
13 CURRENT_lilypond_SOURCES = $(wildcard *.cc)
14
15 # ugh: there is a dummy file 'wild-check' to satisfy the wild-check target
16 # for non-GNU makes in Makefile(.test)
17 # but we'll ignore that
18 # .PHONY: wild-check
19
20 # ugh: stupid lexer.cc/parser.cc cluttering sourcedir!
21 # but it works fine in other dirs (see ../mi2mu)
22 # wild-check: check-lilypond-sources
23
24 check-lilypond-sources:
25 ifneq ($(lilypond_SOURCES),$(CURRENT_mi2mu_SOURCES))
26         @echo \"$(lilypond_SOURCES)\"
27         @echo \"$(CURRENT_lilypond_SOURCES)\"
28         @echo  lilypond_SOURCES changed: NOT yet rerunning make-wild.  Please type:
29         @echo "$(PERL) $(top_srcdir)/bin/wild-perl < Makefile.am.wild > Makefile.am"
30 endif
31