#
# Some MIDI utilities.
# 
# Please let me know if you make improvements.
#
# Michael Hawley
# MIT Media Laboratory
# mike@media-lab.mit.edu
#
p = play midi2ps da ra mpu filter
o = midilist.o midifile.o util.o
l = libmidi.a
c = cc $(CFLAGS) -o $@ $@.c $l
CFLAGS = -g

all: $l $p tags
.c:; $c
$l: $o; ar ruv $l $o; ranlib -s $@

tags: $l; ctags *.h *.c
clean:; rm -rf *.o *.a $p core errors
strip:; -strip $p
