This repository has been archived on 2022-05-27. You can view files and clone it, but cannot push or open issues or pull requests.
ocaml-cgroups2/examples/echo/Makefile

11 lines
258 B
Makefile
Raw Normal View History

2022-01-31 11:31:20 +00:00
C=clang -Wall
all: echo_priv_sep
clean:
rm -f echo_priv_sep
echo_priv_sep: echo_priv_sep.c ../../lib/clone3.c ../../include/clone3.h
${C} -I../../include -o echo_priv_sep echo_priv_sep.c ../../lib/clone3.c
sudo setcap CAP_SYS_ADMIN+eip ./echo_priv_sep