# simple enough for now

CC=gcc
CFLAGS=-O2
INSBIN=/usr/local/bin

all:	gusload gusthru

gusload:	gusload.c gmidi.h
	$(CC) $(CFLAGS) -o gusload gusload.c

gusthru:	gusthru.c
	$(CC) $(CFLAGS) -o gusthru gusthru.c

install: all
	cp gusload gusthru $(INSBIN)
	chmod 755 $(INSBIN)/gusload
	chmod 755 $(INSBIN)/gusthru

clean:
	rm -f gusload gusthru
