# = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = #
# This  is  the  Makefile  for  the  NOB  (NEFFA Open Band) tune collections. #
# The tune sets here have been used at some NOB dances.
# = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = #
U=http://trillian.mit/ecu/~jc/w/music/abc/session/NOB/
a2p=jcabc2ps

all: Sets

neat:         ; /bin/rm -f *.out *.log *-
clean:   neat ; /bin/rm -f *.pdf *.ps
clobber: clean; /bin/rm -f *.abc

Sets: \
	Set_Colemans_Meeting Set_Josef_Levis_Terrebonne Set_Maison_Tooth_Salon \
	Set_Rose_Sean_Timothy Set_Shove_Devil Set_Swingin_Ann_Stensons 

# Set: proto
Set_proto: Set_proto.abc Set_proto.pdf
Set_proto= hdr/Set_proto.hdr \
	ftr/Set_proto.ftr
Set_proto.abc: $(Set_proto)
	abcjoin +C +RS $(Set_proto) >Set_proto.abc
#	ln -f Set_proto.abc set/
Set_proto.ps: Set_proto.abc fmt/_70.fmt
	$(a2p) Set_proto.abc +Ffmt/_70.fmt \
	|PShdr "proto Set" '' "proto Set" \
	|PSftr "Page %P" $U/Set_proto/ %D >Set_proto.ps
Set_proto.pdf: Set_proto.ps
	ps2pdf Set_proto.ps Set_proto.pdf
	ln -f Set_proto.pdf img/
hdr/Set_proto.hdr: ; touch hdr/Set_proto.hdr
ftr/Set_proto.ftr: ; touch ftr/Set_proto.ftr

# Set: Flying + Curvy + Evil
Set_Flying_Curvy_Evil: Set_Flying_Curvy_Evil.abc Set_Flying_Curvy_Evil.pdf
Set_Flying_Curvy_Evil= hdr/Set_Flying_Curvy_Evil.hdr \
	reel/Flying_Home_to_Shelley-G-32-3.abc \
	reel/Curvy_Road_to_Corinth-Em-32-3.abc \
	reel/Evil_Diane-A-32-2.abc \
	ftr/Set_Flying_Curvy_Evil.ftr
Set_Flying_Curvy_Evil.abc: $(Set_Flying_Curvy_Evil)
	abcjoin +C +RS $(Set_Flying_Curvy_Evil) >Set_Flying_Curvy_Evil.abc
	ln -f Set_Flying_Curvy_Evil.abc set/
Set_Flying_Curvy_Evil.ps: Set_Flying_Curvy_Evil.abc fmt/_70.fmt
	$(a2p) Set_Flying_Curvy_Evil.abc +Ffmt/_70.fmt \
	|PShdr "Flying_Curvy_Evil Set" '' "Flying_Curvy_Evil Set" \
	|PSftr "Page %P" $U/Set_Flying_Curvy_Evil/ %D >Set_Flying_Curvy_Evil.ps
Set_Flying_Curvy_Evil.pdf: Set_Flying_Curvy_Evil.ps
	ps2pdf Set_Flying_Curvy_Evil.ps Set_Flying_Curvy_Evil.pdf
	ln -f Set_Flying_Curvy_Evil.pdf img/
hdr/Set_Flying_Curvy_Evil.hdr: ; touch hdr/Set_Flying_Curvy_Evil.hdr
ftr/Set_Flying_Curvy_Evil.ftr: ; touch ftr/Set_Flying_Curvy_Evil.ftr

# Folding Down the Sheets-D-16,32-
Folding_Down_the_Sheets: Folding_Down_the_Sheets.abc Folding_Down_the_Sheets.pdf
Folding_Down_the_Sheets= hdr/Folding_Down_the_Sheets.hdr \
	Folding_Down_the_Sheets/*.abc \
	ftr/Folding_Down_the_Sheets.ftr
Folding_Down_the_Sheets.abc: $(Folding_Down_the_Sheets)
	abcjoin +C +RS $(Folding_Down_the_Sheets) >Folding_Down_the_Sheets.abc
#	ln -f Folding_Down_the_Sheets.abc set/
Folding_Down_the_Sheets.ps: Folding_Down_the_Sheets.abc fmt/_70.fmt
	$(a2p) Folding_Down_the_Sheets.abc +Ffmt/_70.fmt \
	|PShdr 'Folding Down the Sheets-D-16,32-' '' 'Folding Down the Sheets-D-16,32-' \
	|PSftr '%P' $U/Folding_Down_the_Sheets/ '%D' >Folding_Down_the_Sheets.ps
Folding_Down_the_Sheets.pdf: Folding_Down_the_Sheets.ps
	ps2pdf Folding_Down_the_Sheets.ps Folding_Down_the_Sheets.pdf
	ln -f Folding_Down_the_Sheets.pdf img/
hdr/Folding_Down_the_Sheets.hdr: ; touch hdr/Folding_Down_the_Sheets.hdr
ftr/Folding_Down_the_Sheets.ftr: ; touch ftr/Folding_Down_the_Sheets.ftr

