This commit is contained in:
virusdefender 2016-01-13 12:00:09 +08:00
parent 8bd85224df
commit 0cc6afcfb4
2 changed files with 2 additions and 5 deletions

View File

@ -1,11 +1,8 @@
CC ?= gcc CC ?= gcc
PREFIX ?= /usr/local PREFIX ?= /usr/local
libexecwhitelist.so: libexecwhitelist.c sandbox.so: sandbox.c
$(CC) $^ $(CFLAGS) -fPIC -ldl -shared -lseccomp -o $@ $(CC) $^ $(CFLAGS) -fPIC -ldl -shared -lseccomp -o $@
clean: clean:
rm -f libexecwhitelist.so rm -f sandbox.so
install: libexecwhitelist.so
install -m555 -oroot -groot -s libexecwhitelist.so $(PREFIX)/lib/libexecwhitelist.so