]> git.donarmstrong.com Git - lilypond.git/commitdiff
flower-1.0.14
authorfred <fred>
Fri, 13 Dec 1996 20:32:48 +0000 (20:32 +0000)
committerfred <fred>
Fri, 13 Dec 1996 20:32:48 +0000 (20:32 +0000)
flower/Makefile
flower/Variables.make [new file with mode: 0644]

index 56e0da5e1642bba710c0a456a6aa8555328062ed..89e3bd6f5cdbad5a47e854bea278497b484ae2b4 100644 (file)
@@ -1,20 +1,6 @@
-MAJVER=1
-MINVER=0
-PATCHLEVEL=13
+include Variables.make
 
-PACKAGENAME=flower
-VERSION=$(MAJVER).$(MINVER).$(PATCHLEVEL)
-DNAME=$(PACKAGENAME)-$(VERSION)
-DEFINES=-DNDEBUG -O2
-#DEFINES=-g
-CXXFLAGS+=$(DEFINES)  -Wall -W -pedantic
-
-include Sources.make
-
-obs=$(cc:.cc=.o)
-staticlib=libflower.a
-
-$(staticlib): $(obs)
+$(staticlib): $(obs) fversion.hh
        $(AR) cr libflower.a $(obs)
 
 include depend
@@ -29,8 +15,9 @@ clean:
 realclean: clean
        rm -f depend
 
-DFILES=$(hh) $(cc) $(inl) $(templatecc) Makefile Sources.make TODO README
-DDIR=$(DNAME)
+fversion.hh: Variables.make make_version
+       make_version $(MAJVER) $(MINVER) $(PATCHLEVEL) "$(CXX) `$(CXXVER)`" > $@
+
 
 dist:
        -mkdir $(DDIR)
diff --git a/flower/Variables.make b/flower/Variables.make
new file mode 100644 (file)
index 0000000..e0f94d6
--- /dev/null
@@ -0,0 +1,19 @@
+MAJVER=1
+MINVER=0
+PATCHLEVEL=14
+
+PACKAGENAME=flower
+VERSION=$(MAJVER).$(MINVER).$(PATCHLEVEL)
+DNAME=$(PACKAGENAME)-$(VERSION)
+DEFINES=-DNDEBUG -O2
+#DEFINES=-g
+CXXFLAGS+=$(DEFINES)  -Wall -W -pedantic
+CXXVER=$(CXX) --version
+include Sources.make
+
+obs=$(cc:.cc=.o)
+staticlib=libflower.a
+
+DFILES=$(hh) $(cc) $(inl) $(templatecc) Makefile Variables.make make_version\
+       Sources.make TODO README
+DDIR=$(DNAME)