Tag: source

Make me a sandwich in XKCD-Style

If you know this awesome XKCD comic, you will like this makefile. me a: @true sandwich.: ifeq ($(shell if touch / 2> /dev/null; then id -u; fi),0) @echo "Okay." else @echo "What? Make it yourself." endif .PHONY: me a sandwich. Copy this to a file called Makefile. Nerd enjoy.