lilypond-1.3.9
[lilypond.git] / flower / test / Makefile
blobeccb972ad33aaf45c55bff1d9708b65bce6ce887
2 # project LilyPond -- the musical typesetter
3 # title makefile for flowertest
4 # file test/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 # identify module:
18 NAME =flower-test
19 # include ./$(depth)/$(NAME)/VERSION
20 MODULE_NAME = flower
21 include ./$(depth)/flower/VERSION
25 # generic variables:
27 include ./$(depth)/make/Variables.make
28 include ./$(depth)/make/Files.make
31 # list of distribution files:
33 EXTRA_DISTFILES = result
35 # list of custom libraries:
38 MODULE_LIBDEPS=check-flower-deps
39 MODULE_LIBES = -lflower
43 # main target of this module:
45 BUILDSTRINGTEST=$(MAINTARGET)
46 EXECSTRINGTEST=$(EXECUTABLE)
48 # don't do the exec, as this might fail if flowerlib isn't installed yet.
49 default: $(BUILDSTRINGTEST)
51 test: $(EXECUTABLE)
52 $(EXECSTRINGTEST) > $(outdir)/result
53 cmp $(outdir)/result result
55 dummy:
57 # generic targets and rules:
59 include ./$(depth)/make/Targets.make
60 include ./$(depth)/make/Rules.make
63 # auto dependencies:
65 ifdef DEPFILES
66 include $(DEPFILES)
67 endif