Commit 8fb2e050 authored by whmaizmy's avatar whmaizmy

【修改内容】修改makefile,使编译通过

【提交人】陈伟灿
parent 56cc6d14
......@@ -14,10 +14,8 @@ SUBDIRS += src/kcloud
SUBDIRS += common/mqtt
SUBDIRS += common/json
SUBDIRS += common/api
#SUBDIRS += example/mqtt
SUBDIRS += example/nanomsg
SUBDIRS += example/ev
#SUBDIRS += example/ev_nanomsg
SUBDIRS += common/nanomsg
SUBDIRS += common/ev
$(call Append_Conditional, SUBDIRS)
......
LIBA_TARGET := libiot_kcloud.a
SRCS_kcloud := kcloud_main.c
$(call Append_Conditional, LIB_SRCS_EXCLUDE, kcloud_main.c)
$(call Append_Conditional, SRCS_kcloud, kcloud_main.c)
$(call Append_Conditional, TARGET, kcloud)
CFLAGS += -I$(TOP_DIR)/common/nanomsg/include
CFLAGS += -I$(TOP_DIR)/common/ev/include
CFLAGS += -I$(TOP_DIR)/common/json
LDFLAGS += -L$(TOP_DIR)/common/nanomsg -static -lnanomsg
LDFLAGS += -L$(TOP_DIR)/common/ev -static -lev
LDFLAGS += -liot_cjson -liot_mqtt -ldl -lm -lanl -liot_sdk
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment