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