2 # project LilyPond -- the musical typesetter
3 # title generic make rules
6 # Copyright (c) 1997 by
7 # Jan Nieuwenhuizen <jan@digicash.com>
8 # Han-Wen Nienhuys <hanwen@stack.nl>
10 # this is supposed to clear all suffixes:
13 .SUFFIXES: .cc .o .hh .y .l .dep
21 $(outdir)/%.o: $(outdir)/%.cc
26 mv $(shell basename $@ .cc ).tab.c $@
30 mv $(shell basename $@ .hh ).tab.h $@
31 mv $(shell basename $@ .hh ).tab.c $(outdir)/$(shell basename $@ .hh).cc
34 $(FLEX) -Cfe -p -p -t $< > $@
36 # $(FLEX) -8 -Cf -t $< > $@
48 # build and config stuff: (could make this generic default rule...)
54 $(depth)/%.txt: check-doc-deps
56 ln `find ${depth}/Documentation -name $@|head -1` .