1 Star 0 Fork 0

Sensors Data/sa-sdk-c

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Makefile 442 Bytes
一键复制 编辑 原始数据 按行查看 历史
qqzhang 提交于 2018-11-19 11:55 +08:00 . fix two memory leak && remove the orgin assert
CC=gcc
CFLAGS=-Wall -W -I. -DUSE_POSIX
all: demo
ar rcs libsensorsanalytics.a sensors_analytics.o
mkdir -p ./output/include ./output/lib
cp *.h ./output/include/.
cp *.a ./output/lib/.
demo: sensors_analytics.o
$(CC) -o $@ demo.c $^ $(CFLAGS)
sensors_analytics.o: sensors_analytics.c sensors_analytics.h
$(CC) -c sensors_analytics.c $(CFLAGS)
.PHONY: clean
clean:
rm -rf *.o *.a
rm -rf output
rm -rf demo
rm -rf demo.out.log.*
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/sensorsdata/sa-sdk-c.git
git@gitee.com:sensorsdata/sa-sdk-c.git
sensorsdata
sa-sdk-c
sa-sdk-c
master

搜索帮助