Thursday, April 1, 2010

xkcd Tribute

Save the following as a Makefile in some directory, and have fun.
.PHONY: me a sandwich

me:
        @true
a:
        @true
sandwich:
        @if [ $(shell id -u) -eq 0 ]; then \
          echo "Okay."; \
        else \
          echo "What? Make it yourself."; \
        fi
Happy March 32nd.
Post a Comment