]> git.donarmstrong.com Git - lilypond.git/blob - flower/test/Makefile
patch::: 0.1.48: Re: lily 0.1.59
[lilypond.git] / flower / test / Makefile
1 #
2 # project  LilyPond -- the musical typesetter
3 # title    makefile for flowertest
4 # file     test/Makefile 
5 #
6 # Copyright (c) 1997 by
7 #       Jan Nieuwenhuizen <jan@digicash.com>
8 #       Han-Wen Nienhuys <hanwen@stack.nl>
9 #
10
11 # subdir level:
12 #
13 depth = ../..
14 #
15
16 # identify module:
17 #
18 NAME =flower-test
19 # include ./$(depth)/$(NAME)/VERSION
20 MODULE_NAME = flower
21 include ./$(depth)/flower/VERSION
22
23 #
24
25 # generic variables:
26 #
27 include ./$(depth)/make/Variables.make
28 include ./$(depth)/make/Files.make 
29 #
30
31 # list of distribution files:
32 #
33 EXTRA_DISTFILES = result 
34
35 # list of custom libraries:
36 #
37
38 MODULE_LIBDEPS=check-flower-deps
39 MODULE_LIBES = -lflower 
40 #
41
42
43 # main target of this module:
44 #
45 BUILDSTRINGTEST=$(MAINTARGET)
46 EXECSTRINGTEST=$(EXECUTABLE)
47
48 # don't do the exec, as this might fail if flowerlib isn't installed yet.
49 default:  $(BUILDSTRINGTEST) 
50
51 test: $(EXECUTABLE)
52         $(EXECSTRINGTEST) > $(outdir)/result
53         cmp $(outdir)/result result
54
55 dummy:
56
57 # generic targets and rules:
58 #
59 include ./$(depth)/make/Targets.make
60 include ./$(depth)/make/Rules.make
61
62
63 # auto dependencies:
64 #
65 ifdef DEPFILES
66 include $(DEPFILES)
67 endif
68 #
69