CFLAGS = -O2 -mips2
XFLAGS = -lSgm -lXm -lXt -lX11 -lPW -lXpm 
AFLAGS = -laudiofile

all: toothbrush

toothbrush: toothbrush.c
	./buildheader > toothbrush.h
	cc -o toothbrush toothbrush.c ${XFLAGS} ${AFLAGS} ${CFLAGS}

clean:
	rm -f toothbrush
