lilypond-1.3.125
[lilypond.git] / flower / lib / Makefile
blob0c1d299dca9f0ab605c6abbe2113f4b6413afb41
2 # project LilyPond -- the musical typesetter
3 # title makefile for micro-lily-lib
4 # file lib/Makefile
6 # Copyright (c) 1997 by
7 # Jan Nieuwenhuizen <jan@digicash.com>
8 # Han-Wen Nienhuys <hanwen@stack.nl>
11 # subdir level:
13 depth = ../..
16 # generic variables:
18 include ./$(depth)/make/Variables.make
21 # identify module:
23 NAME = flower
24 MODULE_NAME = flower
25 include ./$(depth)/flower/.version
26 build = ./$(depth)/flower/$(outdir)/.build
29 # descent order into subdirectories:
31 SUBDIRS = include
34 # to be remade each build:
36 VERSION_DEPENDENCY =#
39 # list of c++ header files:
41 HHFILES = $(shell ls *.hh $(ERROR_LOG))
44 # list of c++ source files:
46 CCFILES = $(shell ls *.cc $(ERROR_LOG))
49 # list of other source files:
51 EXTRA_SOURCE_FILES = $(shell ls *.y *.l $(ERROR_LOG))
54 # list of distribution files:
56 DISTFILES = Makefile $(HHFILES) $(CCFILES) $(EXTRA_SOURCE_FILES)
59 # list of custom libraries:
61 # yes, i know about the -L and -l options,
62 # but these libraries get rebuild when needed.
63 CUSTOMLIBES = \
65 LOADLIBES +=
68 # main target of this module:
70 # MAINTARGET = $(EXECUTABLE)
71 # MAINTARGET = $(LIBRARY)
72 # MAINTARGET = $(bindir)/$(EXECUTABLE)# huh?
73 MAINTARGET = $(libdir)/$(LIBRARY)# huh?
75 default: $(MAINTARGET)
78 # # sic.
79 # $(include-flower)/flower-config.hh:
80 # touch $@
82 # generic targets and rules:
84 include ./$(depth)/make/Targets.make
85 include ./$(depth)/make/Rules.make
88 # list of depend files:
90 DEPFILES = $(shell ls $(depdir)/*.dep $(ERROR_LOG))
93 # auto dependencies:
95 -include /dev/null $(DEPFILES)