2 # top level makefile of LilyPond
7 .SUFFIXES
: .
cc .o .hh .y .l .pod .txt
.1 .dep
11 $(STRIPDEBUG
) $(STABLEOBS
)
12 $(LINKER
) -o
$@
$^
$(LOADLIBES
)
15 $(LINKER
) -o
$@
$^
$(LOADLIBES
)
20 rm -f
$(allexe
) $(DOCDIR
)/* core
$(allobs
)
21 for SUBDIR in
$(SUBDIRS
); \
23 $(MAKE
) SUBDIR
=$$SUBDIR -C
$$SUBDIR clean;\
27 rm -f version.hh
$(gencc
) .GENERATE
*~
$(ALLDEPS
)
29 all: $(exe
) $(m2m
) doc
31 # value of $(OSTYPE) on windhoos; "make $OSTYPE" if you use bash :-)
36 $(MAKE
) -C Documentation doc
38 # doc++ documentation of classes
40 doc
++ -kp
-d
$(DOCDIR
) $^
43 include $(DEPDIR
)/*.dep
45 $(OBJECTDIR
)/%.o
: $(CCDIR
)/%.
cc
47 $(CXX
) -c
$(CXXFLAGS
) $(OUTPUT_OPTION
)
49 $(OBJECTDIR
)/version.o
: $(obs
) $(HEADERDIR
)/version.hh
56 for SUBDIR in
$(SUBDIRS
); \
57 do mkdir
$(DDIR
)/$$SUBDIR; \
58 $(MAKE
) SUBDIR
=$$SUBDIR -C
$$SUBDIR dist;\
60 tar cfz
$(DNAME
).
tar.gz
$(DNAME
)/
64 $(MAKE
) -C
$(HEADERDIR
) TAGS
65 $(MAKE
) -C
$(CCDIR
) TAGS