FLAGS = -D SCL_PORT=PORTC -D SCL=4 -D SDA_PORT=PORTC -D SDA=5 UPLOAD = testapp.hex OBJECTS = \ ../i2c-sync/slave_C4_C5.o \ ../handy/i2c_C4_C5.o \ ../handy/wait.o all: $(UPLOAD) testapp.hex: $(OBJECTS) main.o gplink -m -c $^ -o $@ include ../include/PIC.mk