2021-01-07 21:13:59 +01:00
|
|
|
PREFIX=/usr/local
|
|
|
|
BINDIR=$(PREFIX)/bin
|
|
|
|
|
2021-01-06 04:42:04 +01:00
|
|
|
all: pidjail
|
|
|
|
|
|
|
|
pidjail: main.c
|
|
|
|
gcc -o $@ $^
|
2021-01-07 21:13:59 +01:00
|
|
|
|
2021-01-15 20:22:22 +01:00
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
|
|
|
rm pidjail
|
|
|
|
|
2021-01-07 21:13:59 +01:00
|
|
|
.PHONY: install
|
|
|
|
install:
|
|
|
|
install -D -m 4755 -o root pidjail $(BINDIR)/pidjail
|