# = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = #
# 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_Flying_Curvy_Evil Set_Joseph_Levis_Terrebonne \
	Set_Maison_Tooth_Salon Set_Rare_Sligo_Bus Set_Rose_Sean_Timothy Set_Shove_Devil \
	Set_Swingin_Ann_Stensons Set_Timothy_Fair jig/Set_Handome_Moon.abc \
	jig/Set_Maison_Tooth_Salon.abc jig/Set_Rose_Sean_Timothy.abc \
	jig/Set_Timothy_Fair.abc mixed/Set_Old_Flying_Evil.abc \
	reel/Set_Colemans_Meeting.abc reel/Set_Flying_Curvy_Evil.abc \
	reel/Set_Joseph_Levis_Terrebonne.abc reel/Set_Nixons_Booth.abc \
	reel/Set_Rare_John_Marcel.abc reel/Set_Rare_Sligo_Bus.abc \
	reel/Set_Shove_Devil.abc reel/Set_Swingin_Ann_Stensons.abc 

# = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = #
# Prototype for making sets.  Note that this builds the source file in the
# current directory, then links the .abc file into the appropriate rhythm
# directory, and the .pdf file into the img directory.

# 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 'Set:proto' '' 'Set:proto' \
	|PSftr "Page %P" $U/ %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 'Set:Flying_Curvy_Evil' '' 'Set:Flying_Curvy_Evil' \
	|PSftr "Page %P" $U/ %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

# Set: Joseph_Levis_Terrebonne
Set_Joseph_Levis_Terrebonne: Set_Joseph_Levis_Terrebonne.abc Set_Joseph_Levis_Terrebonne.pdf
Set_Joseph_Levis_Terrebonne= hdr/Set_Joseph_Levis_Terrebonne.hdr \
	reel/Reel_St_Joseph-D-32-2.abc \
	reel/Levis_Beaulieu-A-32-3.abc \
	reel/Gigue_de_Terrebonne_PC-32-2.abc \
	ftr/Set_Joseph_Levis_Terrebonne.ftr
Set_Joseph_Levis_Terrebonne.abc: $(Set_Joseph_Levis_Terrebonne)
	abcjoin +C +RS $(Set_Joseph_Levis_Terrebonne) >Set_Joseph_Levis_Terrebonne.abc
#	ln -f Set_Joseph_Levis_Terrebonne.abc set/
Set_Joseph_Levis_Terrebonne.ps: Set_Joseph_Levis_Terrebonne.abc fmt/_70.fmt
	$(a2p) Set_Joseph_Levis_Terrebonne.abc +Ffmt/_70.fmt \
	|PShdr 'Set:Joseph-Levis-Terrebonne' '' 'Set:Joseph-Levis-Terrebonne' \
	|PSftr "Page %P" $U/ %D >Set_Joseph_Levis_Terrebonne.ps
Set_Joseph_Levis_Terrebonne.pdf: Set_Joseph_Levis_Terrebonne.ps
	ps2pdf Set_Joseph_Levis_Terrebonne.ps Set_Joseph_Levis_Terrebonne.pdf
	ln -f Set_Joseph_Levis_Terrebonne.pdf img/
hdr/Set_Joseph_Levis_Terrebonne.hdr: ; touch hdr/Set_Joseph_Levis_Terrebonne.hdr
ftr/Set_Joseph_Levis_Terrebonne.ftr: ; touch ftr/Set_Joseph_Levis_Terrebonne.ftr

# Set: Swingin_Ann_Stensons
Set_Swingin_Ann_Stensons: Set_Swingin_Ann_Stensons.abc Set_Swingin_Ann_Stensons.pdf
Set_Swingin_Ann_Stensons= hdr/Set_Swingin_Ann_Stensons.hdr \
	reel/Swinging_on_a_Gate-G-32-3.abc \
	reel/Lady_Anne_Montgomery-D-32-3.abc \
	reel/John_Stensons_No2-A-32-3.abc \
	ftr/Set_Swingin_Ann_Stensons.ftr
Set_Swingin_Ann_Stensons.abc: $(Set_Swingin_Ann_Stensons)
	abcjoin +C +RS $(Set_Swingin_Ann_Stensons) >Set_Swingin_Ann_Stensons.abc
	ln -f Set_Swingin_Ann_Stensons.abc set/
Set_Swingin_Ann_Stensons.ps: Set_Swingin_Ann_Stensons.abc fmt/_70.fmt
	$(a2p) Set_Swingin_Ann_Stensons.abc +Ffmt/_70.fmt \
	|PShdr 'Set:Swingin-Ann-Stensons' '' 'Set:Swingin-Ann-Stensons' \
	|PSftr "Page %P" $U/ %D >Set_Swingin_Ann_Stensons.ps
Set_Swingin_Ann_Stensons.pdf: Set_Swingin_Ann_Stensons.ps
	ps2pdf Set_Swingin_Ann_Stensons.ps Set_Swingin_Ann_Stensons.pdf
	ln -f Set_Swingin_Ann_Stensons.pdf img/
hdr/Set_Swingin_Ann_Stensons.hdr: ; touch hdr/Set_Swingin_Ann_Stensons.hdr
ftr/Set_Swingin_Ann_Stensons.ftr: ; touch ftr/Set_Swingin_Ann_Stensons.ftr

# Set: Shove_Devil
Set_Shove_Devil: Set_Shove_Devil.abc Set_Shove_Devil.pdf
Set_Shove_Devil= hdr/Set_Shove_Devil.hdr \
	reel/Shove_That_Pigs_Foot-Gm-32-3.abc \
	reel/Devil_in_the_Strawstack-Gm-32-2.abc \
	ftr/Set_Shove_Devil.ftr
Set_Shove_Devil.abc: $(Set_Shove_Devil)
	abcjoin +C +RS $(Set_Shove_Devil) >Set_Shove_Devil.abc
	ln -f Set_Shove_Devil.abc set/
Set_Shove_Devil.ps: Set_Shove_Devil.abc fmt/_70.fmt
	$(a2p) Set_Shove_Devil.abc +Ffmt/_70.fmt \
	|PShdr 'Set:Shove-Devil' '' 'Set:Shove-Devil' \
	|PSftr "Page %P" $U/ %D >Set_Shove_Devil.ps
Set_Shove_Devil.pdf: Set_Shove_Devil.ps
	ps2pdf Set_Shove_Devil.ps Set_Shove_Devil.pdf
	ln -f Set_Shove_Devil.pdf img/
hdr/Set_Shove_Devil.hdr: ; touch hdr/Set_Shove_Devil.hdr
ftr/Set_Shove_Devil.ftr: ; touch ftr/Set_Shove_Devil.ftr

# Set: Maison_Tooth_Salon
Set_Maison_Tooth_Salon: Set_Maison_Tooth_Salon.abc Set_Maison_Tooth_Salon.pdf
Set_Maison_Tooth_Salon= hdr/Set_Maison_Tooth_Salon.hdr \
	jig/Maison_De_Glace-D-32-2.abc \
	jig/Fee_des_Dents-G-32-2.abc \
	jig/Gigue_du_Salon-A-32-3.abc \
	ftr/Set_Maison_Tooth_Salon.ftr
Set_Maison_Tooth_Salon.abc: $(Set_Maison_Tooth_Salon)
	abcjoin +C +RS $(Set_Maison_Tooth_Salon) >Set_Maison_Tooth_Salon.abc
	ln -f Set_Maison_Tooth_Salon.abc set/
Set_Maison_Tooth_Salon.ps: Set_Maison_Tooth_Salon.abc fmt/_70.fmt
	$(a2p) Set_Maison_Tooth_Salon.abc +Ffmt/_70.fmt \
	|PShdr 'Set:Maison-Tooth-Salon' '' 'Set:Maison-Tooth-Salon' \
	|PSftr "Page %P" $U/ %D >Set_Maison_Tooth_Salon.ps
Set_Maison_Tooth_Salon.pdf: Set_Maison_Tooth_Salon.ps
	ps2pdf Set_Maison_Tooth_Salon.ps Set_Maison_Tooth_Salon.pdf
	ln -f Set_Maison_Tooth_Salon.pdf img/
hdr/Set_Maison_Tooth_Salon.hdr: ; touch hdr/Set_Maison_Tooth_Salon.hdr
ftr/Set_Maison_Tooth_Salon.ftr: ; touch ftr/Set_Maison_Tooth_Salon.ftr

# Set: Rose_Sean_Timothy
Set_Rose_Sean_Timothy: Set_Rose_Sean_Timothy.abc Set_Rose_Sean_Timothy.pdf
Set_Rose_Sean_Timothy= hdr/Set_Rose_Sean_Timothy.hdr \
	jig/Rose_in_the_Heather-D-32-2.abc \
	jig/Sean_Ryans_Jig-Am-32-2.abc \
	jig/Timothy_Cliffords_Jig-G-32-2.abc \
	ftr/Set_Rose_Sean_Timothy.ftr
Set_Rose_Sean_Timothy.abc: $(Set_Rose_Sean_Timothy)
	abcjoin +C +RS $(Set_Rose_Sean_Timothy) >Set_Rose_Sean_Timothy.abc
	ln -f Set_Rose_Sean_Timothy.abc set/
Set_Rose_Sean_Timothy.ps: Set_Rose_Sean_Timothy.abc fmt/_70.fmt
	$(a2p) Set_Rose_Sean_Timothy.abc +Ffmt/_70.fmt \
	|PShdr 'Set:Rose-Sean-Timothy' '' 'Set:Rose-Sean-Timothy' \
	|PSftr "Page %P" $U/ %D >Set_Rose_Sean_Timothy.ps
Set_Rose_Sean_Timothy.pdf: Set_Rose_Sean_Timothy.ps
	ps2pdf Set_Rose_Sean_Timothy.ps Set_Rose_Sean_Timothy.pdf
	ln -f Set_Rose_Sean_Timothy.pdf img/
hdr/Set_Rose_Sean_Timothy.hdr: ; touch hdr/Set_Rose_Sean_Timothy.hdr
ftr/Set_Rose_Sean_Timothy.ftr: ; touch ftr/Set_Rose_Sean_Timothy.ftr

# Set: Colemans_Meeting
Set_Colemans_Meeting: Set_Colemans_Meeting.abc Set_Colemans_Meeting.pdf
Set_Colemans_Meeting= hdr/Set_Colemans_Meeting.hdr \
	march/Colemans_March-D-32-2.abc \
	march/Meeting_of_the_Waters-A-32-4.abc \
	ftr/Set_Colemans_Meeting.ftr
Set_Colemans_Meeting.abc: $(Set_Colemans_Meeting)
	abcjoin +C +RS $(Set_Colemans_Meeting) >Set_Colemans_Meeting.abc
	ln -f Set_Colemans_Meeting.abc set/
Set_Colemans_Meeting.ps: Set_Colemans_Meeting.abc fmt/_65.fmt
	$(a2p) Set_Colemans_Meeting.abc +Ffmt/_65.fmt \
	|PShdr 'Set:Colemans-Meeting' '' 'Set:Colemans-Meeting' \
	|PSftr "Page %P" $U/ %D >Set_Colemans_Meeting.ps
Set_Colemans_Meeting.pdf: Set_Colemans_Meeting.ps
	ps2pdf Set_Colemans_Meeting.ps Set_Colemans_Meeting.pdf
	ln -f Set_Colemans_Meeting.pdf img/
hdr/Set_Colemans_Meeting.hdr: ; touch hdr/Set_Colemans_Meeting.hdr
ftr/Set_Colemans_Meeting.ftr: ; touch ftr/Set_Colemans_Meeting.ftr

# Set: Rare_Sligo_Bus
Set_Rare_Sligo_Bus: Set_Rare_Sligo_Bus.abc Set_Rare_Sligo_Bus.pdf
Set_Rare_Sligo_Bus= hdr/Set_Rare_Sligo_Bus.hdr \
	reel/Rare-D-32-4.abc \
	reel/Sligo_Creek-Bm-32-2.abc \
	reel/Bus_Stop_Reel-Am-32-3.abc \
	ftr/Set_Rare_Sligo_Bus.ftr
Set_Rare_Sligo_Bus.abc: $(Set_Rare_Sligo_Bus)
	abcjoin +C +RS $(Set_Rare_Sligo_Bus) >Set_Rare_Sligo_Bus.abc
	ln -f Set_Rare_Sligo_Bus.abc set/
Set_Rare_Sligo_Bus.ps: Set_Rare_Sligo_Bus.abc fmt/_70.fmt
	$(a2p) Set_Rare_Sligo_Bus.abc +Ffmt/_70.fmt \
	|PShdr 'Set:Rare-Sligo-Bus' '' 'Set:Rare-Sligo-Bus' \
	|PSftr "Page %P" $U/ %D >Set_Rare_Sligo_Bus.ps
Set_Rare_Sligo_Bus.pdf: Set_Rare_Sligo_Bus.ps
	ps2pdf Set_Rare_Sligo_Bus.ps Set_Rare_Sligo_Bus.pdf
	ln -f Set_Rare_Sligo_Bus.pdf img/
hdr/Set_Rare_Sligo_Bus.hdr: ; touch hdr/Set_Rare_Sligo_Bus.hdr
ftr/Set_Rare_Sligo_Bus.ftr: ; touch ftr/Set_Rare_Sligo_Bus.ftr

# Set: Timothy_Fair
Set_Timothy_Fair: Set_Timothy_Fair.abc Set_Timothy_Fair.pdf
Set_Timothy_Fair= hdr/Set_Timothy_Fair.hdr \
	jig/Timothy_Cliffords_Jig-G-32-2.abc \
	jig/Fair_Jennys_Jig-D-32-2.abc \
	ftr/Set_Timothy_Fair.ftr
Set_Timothy_Fair.abc: $(Set_Timothy_Fair)
	abcjoin +C +RS $(Set_Timothy_Fair) >Set_Timothy_Fair.abc
	ln -f Set_Timothy_Fair.abc set/
Set_Timothy_Fair.ps: Set_Timothy_Fair.abc fmt/_70.fmt
	$(a2p) Set_Timothy_Fair.abc +Ffmt/_70.fmt \
	|PShdr 'Set:Timothy Fair' '' 'Set:Timothy Fair' \
	|PSftr "Page %P" $U/ %D >Set_Timothy_Fair.ps
Set_Timothy_Fair.pdf: Set_Timothy_Fair.ps
	ps2pdf Set_Timothy_Fair.ps Set_Timothy_Fair.pdf
	ln -f Set_Timothy_Fair.pdf img/
hdr/Set_Timothy_Fair.hdr: ; touch hdr/Set_Timothy_Fair.hdr
ftr/Set_Timothy_Fair.ftr: ; touch ftr/Set_Timothy_Fair.ftr

# Set: Nixons_Booth
Set_Nixons_Booth: Set_Nixons_Booth.abc Set_Nixons_Booth.pdf
Set_Nixons_Booth= hdr/Set_Nixons_Booth.hdr \
	reel/Nixons_Farewell-D-32-2.abc \
	reel/Booth_Shot_Lincoln-A-32-3.abc \
	ftr/Set_Nixons_Booth.ftr
Set_Nixons_Booth.abc: $(Set_Nixons_Booth)
	abcjoin +C +RS $(Set_Nixons_Booth) >Set_Nixons_Booth.abc
	ln -f Set_Nixons_Booth.abc set/
Set_Nixons_Booth.ps: Set_Nixons_Booth.abc fmt/_70.fmt
	$(a2p) Set_Nixons_Booth.abc +Ffmt/_70.fmt \
	|PShdr 'Set:Nixons Booth' '' 'Set:Nixons Booth' \
	|PSftr "Page %P" $U/ %D >Set_Nixons_Booth.ps
Set_Nixons_Booth.pdf: Set_Nixons_Booth.ps
	ps2pdf Set_Nixons_Booth.ps Set_Nixons_Booth.pdf
	ln -f Set_Nixons_Booth.pdf img/
hdr/Set_Nixons_Booth.hdr: ; touch hdr/Set_Nixons_Booth.hdr
ftr/Set_Nixons_Booth.ftr: ; touch ftr/Set_Nixons_Booth.ftr

# Set: Rare_John_Marcel
Set_Rare_John_Marcel: Set_Rare_John_Marcel.abc Set_Rare_John_Marcel.pdf
Set_Rare_John_Marcel= hdr/Set_Rare_John_Marcel.hdr \
	reel/Rare-D-32-4.abc \
	reel/John_Stensons_No2-A-32-3.abc \
	reel/Marcel_Martin-E-32-2.abc \
	ftr/Set_Rare_John_Marcel.ftr
Set_Rare_John_Marcel.abc: $(Set_Rare_John_Marcel)
	abcjoin +C +RS $(Set_Rare_John_Marcel) >Set_Rare_John_Marcel.abc
	ln -f Set_Rare_John_Marcel.abc set/
Set_Rare_John_Marcel.ps: Set_Rare_John_Marcel.abc fmt/_70.fmt
	$(a2p) Set_Rare_John_Marcel.abc +Ffmt/_70.fmt \
	|PShdr 'Set:Rare John Marcel' '' 'Set:Rare John Marcel' \
	|PSftr "Page %P" $U/ %D >Set_Rare_John_Marcel.ps
Set_Rare_John_Marcel.pdf: Set_Rare_John_Marcel.ps
	ps2pdf Set_Rare_John_Marcel.ps Set_Rare_John_Marcel.pdf
	ln -f Set_Rare_John_Marcel.pdf img/
hdr/Set_Rare_John_Marcel.hdr: ; touch hdr/Set_Rare_John_Marcel.hdr
ftr/Set_Rare_John_Marcel.ftr: ; touch ftr/Set_Rare_John_Marcel.ftr

# Set: Handome_Moon
Set_Handome_Moon: Set_Handome_Moon.abc Set_Handome_Moon.pdf
Set_Handome_Moon= hdr/Set_Handome_Moon.hdr \
	jig/Handsome_Young_Maids-A-32-3.abc \
	jig/Moon_and_Seven_Stars-D-32-2.abc \
	ftr/Set_Handome_Moon.ftr
Set_Handome_Moon.abc: $(Set_Handome_Moon)
	abcjoin +C +RS $(Set_Handome_Moon) >Set_Handome_Moon.abc
	ln -f Set_Handome_Moon.abc set/
Set_Handome_Moon.ps: Set_Handome_Moon.abc fmt/_70.fmt
	$(a2p) Set_Handome_Moon.abc +Ffmt/_70.fmt \
	|PShdr 'Set:Handome Moon' '' 'Set:Handome Moon' \
	|PSftr "Page %P" $U/ %D >Set_Handome_Moon.ps
Set_Handome_Moon.pdf: Set_Handome_Moon.ps
	ps2pdf Set_Handome_Moon.ps Set_Handome_Moon.pdf
	ln -f Set_Handome_Moon.pdf img/
hdr/Set_Handome_Moon.hdr: ; touch hdr/Set_Handome_Moon.hdr
ftr/Set_Handome_Moon.ftr: ; touch ftr/Set_Handome_Moon.ftr

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

