.SUFFIXES:
.SUFFIXES: .cc .o .hh .y .l .pod .txt .1 .dep
+
$(exe): $(obs)
$(CXX) -o $@ $^ $(LOADLIBES)
-depend: ; # automatically by gnu make.
clean:
- rm -f $(exe) objects/*.o $(DOCDIR)/* core
- $(MAKE) -C $(CCDIR) clean
- $(MAKE) -C $(HEADERDIR) clean
+ rm -f $(exe) $(DOCDIR)/* core $(obs)
+ for SUBDIR in $(SUBDIRS); \
+ do \
+ $(MAKE) SUBDIR=$$SUBDIR -C $$SUBDIR clean;\
+ done
distclean: clean
rm -f version.hh $(gencc) .GENERATE *~ deps/*.dep
all: kompijl doc
-# doc++ documentation of classes
doc:
$(MAKE) -C Documentation doc
+# doc++ documentation of classes
docpp: $(progdocs)
-mkdir $(DOCDIR)
doc++ -p -I -d $(DOCDIR) $^
-%.o: $(CCDIR)/%.cc
- $(DODEP)\
- $(CXX) -c $(CXXFLAGS) $^ -o $(OBJECTDIR)/$@
-
-
$(OBJECTDIR)/%.o: $(CCDIR)/%.cc
$(DODEP)\
$(CXX) -c $(CXXFLAGS) $(OUTPUT_OPTION)
#include "key.hh"
#include "stcol.hh"
#include "staff.hh"
-#include "swalker.hh"
+#include "staffwalker.hh"
/*
mega-stupido staffs and cols: they do notes one at each moment.
Beam_req *beam_;
Simple_staff* staff_l_;
Text_req *text_;
+ Lyric_req* lreq_p_;
/****************/
Slur_req * find_slur(Voice *);
/// Simple staff: one voicegroup at a time
struct Simple_staff : Staff {
/// indirection to the PStaff.
- PStaff *theline;
+ PStaff *theline_l_;
/****************/
Staff_column*create_col(Score_column*);
default: ;
DISTFILES=Makefile kortjakje.ly pavane.ly maartje.ly\
- cadenza.ly scales.ly standchen.lily
+ cadenza.ly scales.ly standchen.lily twinkle.ly
dist:
ln $(DISTFILES) $(DDIR)/$(SUBDIR)
%%1
melodie = music { $
\duration{ 8 }
- r_"pp" { [ d `a-^ } f-^ { d `a-^ } f-^ { d `a-^ ] }
+ r_"pp" { [ d `a-| } f-| { d `a-| } f-| { d `a-| ] }
%%2
- r { [ d `bes-^ } f-^ { d `bes-^ } f-^ { d `bes-^ ] }
+ r { [ d `bes-| } f-| { d `bes-| } f-| { d `bes-| ] }
%%3
r_"simile" { [ d `bes } e { d `bes } e { d `bes ] }
%%4
}
}
commands {
- meter 3 4
+ meter 3*4
skip 4:0
bar ":|"
skip 32:0
#include "staffcommands.hh"
#include "melodicstaff.hh"
#include "rhythmstaff.hh"
+#include "lyricstaff.hh"
#include "staff.hh"
void
p = new Melodic_staff;
else if (type == "rhythmic")
p = new Rhythmic_staff;
+ else if (type == "lyric")
+ p = new Lyric_staff;
p->score_l_ = score_l;
p->define_spot_str_ = define_spot_str_;
#include "request.hh"
#include "voice.hh"
-#include "swalker.hh"
+#include "staffwalker.hh"
#include "debug.hh"
#include "clef.hh"
#include "staff.hh"
staff_l_ = rs;
beam_ = 0;
text_=0;
+ lreq_p_ = 0;
}
Simple_staff::Simple_staff()
{
- theline = 0;
+ theline_l_ = 0;
}
/**
if (rq->text()) {
text_ = rq->text();
}
+#if 0
+ if (rq->lreq_l()) {
+ lreq_p_ = rq->lreq_l();
+ }
+#endif
if (rq->beam()) {
beam_ = rq->beam();
}