ibs/mosquitto_broker/Makefile

11 lines
180 B
Makefile
Raw Permalink Normal View History

CC=gcc
CFLAGS= -lmosquitto
all: mqtt-broker.o
$(CC) $(CFLAGS) -o mqtt-broker mqtt-broker.o
mqtt-broker.o:
$(CC) $(CFLAGS) -c mqtt-broker.c
clean:
rm mqtt-broker.o mqtt-broker