Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
k-sdk
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陈伟灿
k-sdk
Commits
8fb2e050
Commit
8fb2e050
authored
Jul 27, 2020
by
whmaizmy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【修改内容】修改makefile,使编译通过
【提交人】陈伟灿
parent
56cc6d14
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
4 deletions
+16
-4
makefile
makefile
+2
-4
src/kcloud/iot.mk
src/kcloud/iot.mk
+14
-0
No files found.
makefile
View file @
8fb2e050
...
@@ -14,10 +14,8 @@ SUBDIRS += src/kcloud
...
@@ -14,10 +14,8 @@ SUBDIRS += src/kcloud
SUBDIRS
+=
common/mqtt
SUBDIRS
+=
common/mqtt
SUBDIRS
+=
common/json
SUBDIRS
+=
common/json
SUBDIRS
+=
common/api
SUBDIRS
+=
common/api
#SUBDIRS += example/mqtt
SUBDIRS
+=
common/nanomsg
SUBDIRS
+=
example/nanomsg
SUBDIRS
+=
common/ev
SUBDIRS
+=
example/ev
#SUBDIRS += example/ev_nanomsg
$(call
Append_Conditional,
SUBDIRS)
$(call
Append_Conditional,
SUBDIRS)
...
...
src/kcloud/iot.mk
0 → 100644
View file @
8fb2e050
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment