flower-1.1.1
[lilypond.git] / flower / Variables.make
blob91802a52e81f62a010e5c69160ad694b05dd1e45
1 MAJVER=1
2 MINVER=1
3 PATCHLEVEL=1
5 PACKAGENAME=flower
7 #PROFILEFLAG=-pg
8 #DEBUGFLAG= -g
9 OPTIFLAG= -DNPRINT -O2 -DSTRING_UTILS_INLINED -DNDEBUG
11 #########################################
13 ifdef PROFILEFLAG
14 DEFINES+=$(OPTIFLAG) $(PROFILEFLAG)
15 EXTRALIB+=-pg
16 endif
18 ifndef DEBUGFLAG
19 DEFINES+=$(OPTIFLAG)
20 else
21 DEFINES+=$(DEBUGFLAG)
22 endif
25 CXXFLAGS+=$(DEFINES) -Wall -W
26 CXXVER=$(CXX) --version
28 VERSION=$(MAJVER).$(MINVER).$(PATCHLEVEL)
29 DNAME=$(PACKAGENAME)-$(VERSION)
31 include Sources.make
33 obs=$(cc:.cc=.o)
34 staticlib=libflower.a
35 ALLSOURCES=$(hh) $(cc) $(inl) $(templatecc) $(extra)
36 DFILES=$(ALLSOURCES) Makefile Variables.make make_version\
37 Sources.make TODO README NEWS
38 DDIR=$(DNAME)