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