1 Star 0 Fork 0

lcings/tflite_gles_app

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Makefile.include 847 Bytes
一键复制 编辑 原始数据 按行查看 历史
terryky 提交于 2020-06-26 20:55 . update Makefile
INCLUDES += -I$(MAKETOP)/common/
INCLUDES += -I$(MAKETOP)/common/winsys/
INCLUDES += -I$(MAKETOP)/third_party/
CFLAGS += -Wall
CFLAGS += -O2
LDFLAGS += -L$(MAKETOP)/third_party/tensorflow/current/lite/lib/current/
LDFLAGS += -L$(HOME)/lib
LIBS += -ltensorflowlite -ltensorflowlite_gpu_delegate
all: $(TARGET)
%.o: %.c
$(CC) $(CFLAGS) $(INCLUDES) -g -c $< -o $@ -Wno-deprecated-declarations
%.o: %.cpp
$(CXX) $(CFLAGS) $(CXXFLAGS) $(INCLUDES) -g -c $< -o $@ -Wno-deprecated-declarations
%.o: %.cc
$(CXX) $(CFLAGS) $(CXXFLAGS) $(INCLUDES) -g -c $< -o $@ -Wno-deprecated-declarations
$(TARGET): $(OBJS)
$(CXX) -o $@ -Wl,--whole-archive $(OBJS) $(LDFLAGS) $(LIBS) -Wl,--no-whole-archive -rdynamic
%.a: $(OBJS)
$(AR) r $@ $^
clean:
for i in $(OBJS); do (if test -e "$$i"; then ( rm $$i ); fi ); done
rm -f $(TARGET) $(LIB)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lcings/tflite_gles_app.git
git@gitee.com:lcings/tflite_gles_app.git
lcings
tflite_gles_app
tflite_gles_app
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385