fsmgr := $(shell which fsmgr) sudo := $(shell [ "$$(id -u)" = 0 ] || echo sudo) all: $(sudo) $(fsmgr) build samizdat