From ef03419fb5d34864ad63583ba253124c9d7a56b5 Mon Sep 17 00:00:00 2001 From: fred Date: Wed, 5 Mar 1997 21:07:31 +0000 Subject: [PATCH] lilypond-0.0.39 --- make/Rules.make | 52 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 make/Rules.make diff --git a/make/Rules.make b/make/Rules.make new file mode 100644 index 0000000000..0c2a5493b2 --- /dev/null +++ b/make/Rules.make @@ -0,0 +1,52 @@ +# +# project LilyPond -- the musical typesetter +# title generic make rules +# file make/Rules.make +# +# Copyright (c) 1997 by +# Jan Nieuwenhuizen +# Han-Wen Nienhuys + +.SUFFIXES: +.SUFFIXES: .cc .o .hh .y .l .pod .txt .1 .dep + +# compile rules: +# +$(outdir)/%.o: %.cc + $(DODEP)\ + $(CXX) -c $(CXXFLAGS) $(CXX_OUTPUT_OPTION) + +$(outdir)/%.cc: %.y +# $(BISON) -d $< + $(BISON) $< +# mv $(shell basename $@ .cc ).tab.h $(include-lib)/$(shell basename $@ .cc).hh +# mv $(shell basename $@ .cc ).tab.h $(outdir)/$(shell basename $@ .cc).hh + mv $(shell basename $@ .cc ).tab.c $@ + +$(outdir)/%.hh: %.y + $(BISON) -d $< + mv $(shell basename $@ .hh ).tab.h $@ + mv $(shell basename $@ .hh ).tab.c $(outdir)/$(shell basename $@ .hh).cc + +$(outdir)/%.cc: %.l + $(FLEX) -t $< > $@ + +$(outdir)/%.text: $(outdir)/%.1 + groff -man -Tascii $< > $@ + +$(outdir)/%.1: %.pod + pod2man --center="LilyPond documentation" --section="0"\ + --release="LilyPond $(MAJVER).$(MINVER).$(PATCHLEVEL)" $< > $@ +# + +# specific stuff: +# +$(LIBFLOWER): check-flower-version +# $(MAKE) -C ./$(depth)/flower/lib + $(MAKE) ./$(outdir)/$(@F) -C $(depth)/flower/lib +# +$(LIBLILY): check-flower-version $(lily-version) +# $(MAKE) -C ./$(depth)/lib + $(MAKE) ./$(outdir)/$(@F) -C $(depth)/lib +# + -- 2.39.5