all:    xscipio maustest

xscipio: xscipio.c
	gcc -o xscipio xscipio.c -L /usr/X11R6/lib -lX11 -lXtst -lbluetooth  -Wall -lm

maustest: maustest.c
	gcc -o maustest maustest.c `gtk-config --cflags --libs`

pic: sbp.hex hw.hex

hw.hex: hw.s
	gpasm -DCRYSTAL_OSC hw.s

sbp.hex: sbp.s
	gpasm sbp.s

clean:
	rm -rf *.o xscipio maustest
#	-(cd tzi; make clean)

run: all
	./xscipio  -z -gesture midi 00:0B:53:13:82:C7 1 ./rfid x11