CC=clang CFLAGS=-std=c99 LD=clang LDFLAGS=-lgpio OBJS=main.o util.o lcd.o OUTFILE=rpi4b-temp-humidity ${OUTFILE}: ${OBJS} ${LD} ${LDFLAGS} -o $@ ${OBJS} main.o lcd.o: lcd.h main.o util.o lcd.o: util.h .c.o: ${CC} ${CFLAGS} -c $< clean: rm -f ${OUTFILE} ${OBJS} .SUFFIXES: .c .o .PHONY: clean