Makefile 2.05 KB
#
#
# Makefile for sequences
#
include $(ROOT)/usr/include/make/PRdefs

TARGETS = $(COLLECTION) $(CMPCOLLECTION) $(STANDARD)

MIDIFILES = drumtest.mid \
		hawaii50.mid \
		bachto.mid \
		lnslcy.mid \
		startrek.mid \
		sttng.mid \
		voyager2.mid \
		cover.mid \
                garden.mid \
                heknows.mid \
                howdoyou.mid \
                just.mid \
                kayleigh.mid \
                knight.mid \
                lothian.mid \
                mag1.mid \
                maple.mid \
                noonecan.mid \
                oxygene4.mid \
                splheart.mid \
                airwolf.mid \
                alf.mid \
                arpe.mid \
                calypso1.mid \
                calypso2.mid \
		blues12.mid \
		cs.mid \
		freaker.mid \
		nocturne.mid \
		funkrama.mid \
		nitemerg.mid \
		blues5.mid \
		scale3.mid \
		onenote.mid \
		electron.mid \
		fmmod.mid \
		gintonic.mid \
		orientex.mid \
		sockhop.mid \
		factory.mid \
		ragtime.mid \
		someband.mid \
		rioswait.mid \
                almonds.mid\
                canyon.mid\
                dreamy.mid\
                erlymorn.mid\
                ethnodip.mid\
                metblast.mid\
                passport.mid\
                stomp.mid\
		styx-3.mid\
		gilligan.mid\
		undersea.mid

COLLECTION = collection.sbk

CMPCOLLECTION = cmpcollection.sbk

STANDARD = standard.sbk

SEQFILES = $(MIDIFILES:.mid=.seq)

CMFFILES = $(MIDIFILES:.mid=.cmf)

LDIRT = $(SEQFILES) $(CMFFILES) 

default: $(TARGETS)

include $(COMMONRULES)

.SUFFIXES: .mid .seq .sbk .cmf

.mid.seq:
	$(MIDICVT) -s $< $*.seq

.mid.cmf:
	$(MIDICOMP) $< $*.cmf


$(STANDARD): $(MIDIFILES)
	$(SBC) -o $(STANDARD) $(MIDIFILES) 


$(COLLECTION): $(SEQFILES)
	$(SBC) -o $(COLLECTION) $(SEQFILES) 

$(CMPCOLLECTION): $(CMFFILES)
	$(SBC) -o $(CMPCOLLECTION) $(CMFFILES) 

exports: default
	$(INSTALL) -F /usr/lib/PR/sequences $(SEQFILES) $(COLLECTION)

install: default
	$(INSTALL) -F /usr/lib/PR/sequences $(SEQFILES) $(COLLECTION)
	$(INSTALL) -F /usr/lib/PR/sequences $(CMPFILES) $(CMPCOLLECTION)