dashboard
repositories
filestore
activity
search
login
main
/
framwork
LingYun Studio embeded system framwork software, such as thirdparty build shell and lingyun library
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
Add cJSON library build shell script
guowenxu
2021-04-28
33b0d320f1237c9f30b82815051b3c5821f970fb
[framwork.git]
/
booster
/
makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
PWD=$(shell pwd )
LIBNAME=$(shell basename ${PWD} )
TOPDIR=$(shell dirname ${PWD} )
all: clean
@rm -f *.o
@${CROSSTOOL}gcc ${CFLAGS} -I${TOPDIR} -c *.c
${CROSSTOOL}ar -rcs lib${LIBNAME}.a *.o
clean:
@rm -f *.o
@rm -f *.a