# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #

# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #

.SUFFIXES:
.SUFFIXES: .ABC .abc .ps .PS
.abc.ps: $*.abc; abc2ps -o -n    $*.abc; mv Out.ps $*.ps
.abc.PS: $*.abc; abc2ps -o -n -p $*.abc; mv Out.ps $*.PS

# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #

all: \
	AlasdairMacalister.PS BalmoralS.ps BanksOfSpeyS.PS BarbaraRae_4S.ps \
	BawasDelightS.ps BelladrumHouseS.ps BobbyHarveyS.ps \
	BonnieLassOBonAccord.PS BonnyBridgeS.ps BraesOfTulliemetS.PS \
	BrochanLom.ps CarricksRant.ps CathrineStewartsS.PS \
	CauldKaleInAberdeenS.ps Craigendoran.ps DelvineSideS.ps DonaldBane.PS \
	GeorgeClerkOfPennycuikS.ps GlenTromieS.ps GlengarrysDirkS.PS \
	GordonS.PS IronManS.ps JohnMcAlpineS.ps JohnRobertsonS.ps \
	LairdODrumblairS.PS Lochnagar.ps MacAulaysOfBenbeculaS.ps \
	MarchOfTheDiehardsS.ps MarianeOliphant.ps MarquisOfHuntlysS.PS \
	MillerOfDrone.ps MissDrummondOfMegginch.ps MissDrummondOfPerthS.ps \
	MissLyallS.ps MoragHuttonsS.ps MrGrantOfPilnacreesS.ps \
	MrsScottSkinner.PS MsMargaretGordonS.ps MsScottS.ps \
	MsStewartOfGrantullyS.ps MuirMackenziesFavS.ps MusicOSpey.PS \
	MyDearie.ps NielGowS.PS OldManWillNeverDie.ps \
	OorAuldGuidmanIsNooAwa_Bb.ps OorAuldGuidmanIsNooAwa_G.ps \
	RedRedRoseS.PS SaintKildaWeddingS.PS SittingInTheSternOfABoat.PS \
	Sixereen.PS SmithsAGallantFireman.ps StirlingCastleS.ps StumpieS.ps \
	Tullochgorum.PS Tullochgorum.ps WhaWouldnaFechtForCharlie.ps

neat:
clean: neat
	rm -f *.out *.ps *.PS new.*
clobber: clean
	rm -f core

# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
# MEDLEYS, using jc's abcmedley program.

medleys:

m3=_1.abc _2.abc _3.abc
m3: m3.ps
m3.abc: $(m3)
	abcmedley "Title" $(m3) >m3.abc
m3.ps: m3.abc
	abc2ps -p m3.abc -o
	mv Out.ps m3.ps

Craigendoran.ps: Craigendoran.abc
	abc2ps -F letter_75 Craigendoran.abc -o -n
	mv Out.ps Craigendoran.ps
