]> git.donarmstrong.com Git - lilypond.git/blob - flower/test/Makefile
0ec87161b558d5ab22c2aa38b0bd5eb8a566cead
[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 build = ./$(depth)/flower/lib/.build
23 #
24
25 # generic variables:
26 #
27 include ./$(depth)/make/Variables.make 
28 #
29
30 # descent order into subdirectories:
31 #
32 SUBDIRS =
33 #
34
35 # to be remade each build:
36 #
37 VERSION_DEPENDENCY = #
38 #
39
40 # module compile settings: (not generally needed!
41 #
42 EXTRA_CFLAGS = -DSTRING_TEST
43 EXTRA_CXXFLAGS =
44 EXTRA_LDFLAGS =
45 #
46
47 # list of c++ header files:
48
49 # HHFILES = $(shell ls *.hh $(ERROR_LOG))
50 #
51
52 # list of c++ source files:
53 #
54 CCFILES = $(shell ls *.cc $(ERROR_LOG))
55 #
56
57 # list of other source files:
58 #
59 EXTRA_SOURCE_FILES = $(shell ls *.y *.l $(ERROR_LOG))
60 #
61
62 # list of distribution files:
63 #
64 DISTFILES = Makefile $(HHFILES) $(CCFILES) $(EXTRA_SOURCE_FILES)
65 #
66
67 # list of custom libraries:
68 #
69 CUSTOMLIBES = $(LIBFLOWER)\
70
71 LOADLIBES +=
72 #
73
74
75 # main target of this module:
76 #
77 # MAINTARGET = $(EXECUTABLE)
78 # MAINTARGET = $(LIBRARY)
79 MAINTARGET = $(bindir)/$(EXECUTABLE)# huh?
80 # MAINTARGET = $(libdir)/$(LIBRARY)# huh?
81
82 #default: $(MAINTARGET)
83 BUILDSTRINGTEST=$(MAINTARGET)
84 EXECSTRINGTEST=$(EXECUTABLE)
85 default:  $(BUILDSTRINGTEST) do-stringtest
86 do-stringtest:
87         $(EXECSTRINGTEST)    # should return error value if test fails
88
89 dummy:
90
91 # generic targets and rules:
92 #
93 include ./$(depth)/make/Targets.make
94 include ./$(depth)/make/Rules.make
95 #
96
97 # list of depend files:
98 #
99 DEPFILES = $(shell ls $(depdir)/*.dep $(ERROR_LOG))
100 #
101
102 # auto dependencies:
103 #
104 -include $(DEPFILES)
105 #
106