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