mirror of
https://github.com/QingdaoU/Judger.git
synced 2024-12-29 16:31:42 +00:00
rename
This commit is contained in:
parent
8bd85224df
commit
0cc6afcfb4
7
Makefile
7
Makefile
@ -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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user