MQTT-Gateway/Makefile
2024-01-24 22:08:06 +01:00

17 lines
230 B
Makefile

BIN=bin
all: dirs command readref
command:
gcc -o ${BIN}/command network.c command.c
readref:
gcc -o ${BIN}/readref network.c mqtt.c -lmosquitto readref.c -lm
.PHONY: clean dirs
clean:
rm -rf ${BIN}
dirs:
mkdir -p ${BIN}