]> git.donarmstrong.com Git - lilypond.git/blob - flower/test/Makefile
release: 0.0.42.pre3
[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 =stringtest
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 # descent order into subdirectories:
32 #
33 SUBDIRS =
34 #
35
36 # to be remade each build:
37 #
38 VERSION_DEPENDENCY = #
39 #
40
41 # module compile settings: (not generally needed!
42 #
43 EXTRA_CFLAGS = -DSTRING_TEST
44 #
45
46
47 # list of distribution files:
48 #
49 EXTRA_DISTFILES = result 
50
51 # list of custom libraries:
52 #
53 CUSTOMLIBES = $(LIBFLOWER)\
54
55 LOADLIBES +=
56 #
57
58
59 # main target of this module:
60 #
61 # MAINTARGET = $(EXECUTABLE)
62 # MAINTARGET = $(LIBRARY)
63 MAINTARGET = $(lily_bindir)/$(EXECUTABLE)# huh?
64 # MAINTARGET = $(libdir)/$(LIBRARY)# huh?
65
66 #default: $(MAINTARGET)
67 BUILDSTRINGTEST=$(MAINTARGET)
68 EXECSTRINGTEST=$(EXECUTABLE)
69
70 default:  $(BUILDSTRINGTEST) do-stringtest
71 do-stringtest:
72         $(EXECSTRINGTEST) > $(outdir)/result    # should cmp with a 'standard result'
73         cmp $(outdir)/result result
74
75 dummy:
76
77 # generic targets and rules:
78 #
79 include ./$(depth)/make/Targets.make
80 include ./$(depth)/make/Rules.make
81 #
82
83 # list of depend files:
84 #
85 DEPFILES = $(wildcard $(depdir)/*.dep )
86 #
87
88 # auto dependencies:
89 #
90 -include $(DEPFILES)
91 #
92