This commit is contained in:
Wolfgang Hottgenroth 2020-09-04 19:15:57 +01:00
parent fbc2077d60
commit 9dd62f109a

View File

@ -6,7 +6,9 @@ LDFLAGS=-lwiringPi
mbusgw: mbusgw.o
$(CC) -o $@ $(LDFLAGS) $^
.c.o:
mbusgw.o: mbusgw.c mbusgw.h
%.o : %.c
$(CC) $(CFLAGS) -c $<
.PHONY: all