11 lines
164 B
Makefile
11 lines
164 B
Makefile
PREFIX=/usr/local
|
|
BINDIR=$(PREFIX)/bin
|
|
|
|
all: pidjail
|
|
|
|
pidjail: main.c
|
|
gcc -o $@ $^
|
|
|
|
.PHONY: install
|
|
install:
|
|
install -D -m 4755 -o root pidjail $(BINDIR)/pidjail
|