加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Makefile 1.03 KB
一键复制 编辑 原始数据 按行查看 历史
smartavs 提交于 2021-05-17 18:56 . 增加对xilinx平台的支持;
#####custom
prefix_xilinx=/usr/local/mscore_xilinx
include platform/xilinx_linux.mk
prefix_x8664=/usr/local/mscore
include platform/x8664_linux.mk
prefix_aarch64=/usr/local/mscore_aarch64
include platform/aarch64_linux.mk
prefix_armv7l=/usr/local/mscore_armv7l
include platform/armv7l_linux.mk
export PKG_CONFIG_PATH:=${prefix_x8664}/lib/pkgconfig:${prefix_aarch64}/lib/pkgconfig:${prefix_armv7l}/lib/pkgconfig:${prefix_xilinx}/lib/pkgconfig:$PKG_CONFIG_PATH
#########
PROGRAM_NAME=libmslog
OUT_LIB=out/lib
OUT_BIN=out/bin
OUT_INCLUDE=out/include/$(PROGRAM_NAME)
OUT_JNISRC=out/$(PROGRAM_NAME)jni_source
OUT_JNILIB=$(OUT_JNISRC)/lib
OUT_JNIINCLUDE=$(OUT_JNISRC)/include
D_BASEAPI_FLAGS= \
-DOS_LINUX_SOC \
-D__STDC_FORMAT_MACROS
CFLAGS_SHARE=-shared -fPIC
C_SRC=src/mslog.c
C_INCLUDE=${D_BASEAPI_FLAGS} -Isrc
default: x8664
clean:
rm out -fr
help:
@echo "USAGE:make target"
@echo " all Produce the ${PROGRAM_NAME}.so,and install it"
@echo " clean Clear out"
@echo " mslog_api_sample Sample program with ${PROGRAM_NAME}"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化