CC=gcc
CFLAGS=-Wall -g 
# CFLAGS=-Wall -g -DALLOW_PARPORT=0x3bc

all: picprog p12f508

picprog: main.o out-par.o out-bt.o
	$(CC) -o picprog main.o out-par.o out-bt.o -lbluetooth

p12f508: p12f508.o out-par.o out-bt.o
	$(CC) -o p12f508 p12f508.o out-par.o out-bt.o -lbluetooth

clean:
	rm *.o picprog
