CFLAGS += -Wall -Werror -O9 -funroll-loops LDLIBS += -lmosquitto -ljansson .PHONY: all all: mqttlogger SRCS = mqttlogger.c mqttlogger: $(SRCS:.c=.o) \ ../shared/shared.a .PHONY: indent indent: indent *.[ch] .PHONY: clean clean: rm -f *.d *.o *~ mqttlogger include ../shared/Makefile.depends sinclude $(SRCS:.c=.d)