1 Star 0 Fork 44

baiyfcu/media-server

forked from ireader/media-server 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Makefile 1009 Bytes
一键复制 编辑 原始数据 按行查看 历史
ireader 提交于 2022-10-16 13:17 . feat: 32/64 os bits detect
ARCHBITS ?= # 32/64 bits
ifeq ($(shell uname -m), x86_64)
ARCHBITS = 64
else ifeq ($(shell getconf LONG_BIT), 64)
ARCHBITS = 64
else ifeq ($(shell arch), x86_64)
ARCHBITS = 64
endif
ifdef PLATFORM
CROSS:=$(PLATFORM)-
else
CROSS:=
PLATFORM:=linux$(ARCHBITS)
endif
ifeq ($(RELEASE),1)
BUILD:=release
else
BUILD:=debug
endif
all:
$(MAKE) -C libdash
$(MAKE) -C libflv
$(MAKE) -C libhls
$(MAKE) -C libmkv
$(MAKE) -C libmov
$(MAKE) -C libmpeg
$(MAKE) -C librtmp
$(MAKE) -C librtp
$(MAKE) -C librtsp
$(MAKE) -C libsip
clean:
$(MAKE) -C libdash clean
$(MAKE) -C libflv clean
$(MAKE) -C libhls clean
$(MAKE) -C libmkv clean
$(MAKE) -C libmov clean
$(MAKE) -C libmpeg clean
$(MAKE) -C librtmp clean
$(MAKE) -C librtp clean
$(MAKE) -C librtsp clean
$(MAKE) -C libsip clean
$(MAKE) -C test clean
.PHONY : test
test:
$(MAKE) -C ../avcodec
$(MAKE) -C ../sdk
$(MAKE) -C test
@rm libaio.so
ln -sf ../sdk/libaio/$(BUILD).$(PLATFORM)/libaio.so . && ./test/$(BUILD).$(PLATFORM)/test
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/baiyfcu/media-server.git
[email protected]:baiyfcu/media-server.git
baiyfcu
media-server
media-server
master

搜索帮助