blob: a30dfbdd5c5e2b59b2e50f246045dd20ea1aa023 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
BUILDROOT := $(HOME)/tmp/buildroot-2019.02.7
MIPS_GCC := $(BUILDROOT)/output/host/bin/mips-buildroot-linux-uclibc-gcc
mfi-mqtt-mips: reporting.o mosquitto.o mfi-mqtt.o
$(MIPS_GCC) -o $@ $^ -lpthread -lmosquitto -ljson-c -static
%.o: %.c
$(MIPS_GCC) -Wall -c -o $@ $<
.PHONY: clean
clean:
rm -f *.o mfi-mqtt-mips
|