1 Star 0 Fork 1

chengang / ebpf-kill-example

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Makefile 445 Bytes
一键复制 编辑 原始数据 按行查看 历史
Niclas Hedam 提交于 2021-02-10 14:47 . Update Makefile
.PHONY: clean build deps test libbpf
deps:
sudo apt update
sudo apt install -y build-essential git make gcc clang llvm libelf-dev gcc-multilib
git submodule update --init
libbpf:
$(MAKE) --directory=libbpf/src all
DESTDIR=root $(MAKE) --directory=libbpf/src install_headers
build: libbpf
$(MAKE) --directory=src
clean:
$(MAKE) --directory=src clean
$(MAKE) --directory=libbpf/src clean
test:
./test/test.sh
.DEFAULT_GOAL := build
1
https://gitee.com/eric_cg/ebpf-kill-example.git
git@gitee.com:eric_cg/ebpf-kill-example.git
eric_cg
ebpf-kill-example
ebpf-kill-example
master

搜索帮助