rpi4b-temp-humidity/Makefile

17 lines
212 B
Makefile
Raw Normal View History

2024-02-23 17:55:56 -08:00
CC=clang
CFLAGS=-std=c99
LD=clang
LDFLAGS=-lgpio
OBJS=main.o lcd.o
main.o lcd.o: lcd.h
rpi4b-temp-himidity: ${OBJS}
${LD} ${LDFLAGS} -o $@ ${OBJS}
.c.o:
${CC} ${CFLAGS} -c $<
.SUFFIXES: .c .o
.PHONY: clean