X-Git-Url: https://the.earth.li/gitweb/?p=mqtt-arp.git;a=blobdiff_plain;f=Makefile;fp=Makefile;h=2aefb524058675ef02427e00b8a8838c34c06e2c;hp=0000000000000000000000000000000000000000;hb=2eb120bf36471283d47fd02d4d6dd52d6803edb7;hpb=01910e71be0abe5b89670704fc698da9dd0d29af diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..2aefb52 --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +CC = gcc +CFLAGS = -Wall +LDFLAGS = + +all: mqtt-arp + +mqtt-arp: mqtt-arp.o + $(CC) -o $@ $< $(LDFLAGS) -lmosquitto + +%.o: %.c + $(CC) -c -o $@ $< $(CFLAGS) + +.PHONY: clean + +clean: + rm -f mqtt-arp *.o