LingYun IoT Studio NB-IoT research project
Guo Wenxue
2018-11-20 67f8a597480e9951ea40e84997011660d09eeb84
src/nbiotd/makefile
@@ -49,7 +49,7 @@
# archive to a static library, named lib${subdir_name}.a
OBJFILES = $(patsubst %.c,%,$(wildcard *.c))
SUBSRCS = $(shell find . -follow  -maxdepth 1 -type d|sed -n 's/.\///p'|grep -v 'libs' \
        |grep -v 'etc' | grep -v '.svn'|grep -v '.git'|grep -v 'include'|grep -v 'bin')
        | grep -v '.svn'|grep -v '.git'|grep -v 'include'|grep -v 'bin')
# Add the subdir compiled static library into LDFLAGS
#LDFLAGS+=$(patsubst %,-L%,$(SUBSRCS)) 
@@ -107,7 +107,7 @@
.PHONY: all
all: entry prepare binary install
all: entry prepare binary
prepare:
   @if [ ! -L cp_library  ] ; then \