sleep-shutdown: init
	echo $< | cpio -oH newc > $@

init: sleep-shutdown.c
	gcc -static -Wall -Werror $< -o $@

clean:
	rm -f sleep-shutdown init
