From 8b9d3681b4e6ccb248c8898101cb5b9740cfdf13 Mon Sep 17 00:00:00 2001 From: guowenxue <guowenxue@gmail.com> Date: Tue, 25 Jun 2019 01:04:27 +0800 Subject: [PATCH] add LingYun basic library and update makefile --- mqttd/makefile | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mqttd/makefile b/mqttd/makefile index 9dbd850..a9007c9 100644 --- a/mqttd/makefile +++ b/mqttd/makefile @@ -37,8 +37,8 @@ export CFLAGS export LDFLAGS -CFLAGS+=-Ihal -IcJSON -LDFLAGS+=-L hal -lhal -LcJSON -lcJSON +CFLAGS+=-Ihal -Ilylib +LDFLAGS+=-L hal -lhal -Llylib -llylib SRCFILES = $(wildcard *.c) IMAGE_NAME=$(shell basename ${PWD}) @@ -52,7 +52,7 @@ modules: make -C hal - make -C cJSON + make -C lylib cd ${MQTT_LIBPATH} && bash build.sh binary: ${SRCFILES} @@ -68,7 +68,7 @@ clean: @make clean -C hal - @make clean -C cJSON + @make clean -C lylib @rm -f version.h @rm -f *.o $(IMAGE_NAME) @rm -rf *.gdb *.a *.so *.elf* -- Gitblit v1.9.1