Created
March 30, 2012 19:55
-
-
Save jussi-kalliokoski/2254461 to your computer and use it in GitHub Desktop.
sudo make me a sandwich
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NOOP := rm -f | |
me: | |
@$(NOOP) | |
a: | |
@$(NOOP) | |
sandwich: | |
@if [ `whoami` = "root" ]; then echo "one sandwich coming right up!"; else echo "hah, make me!"; fi | |
.PHONY: me a sandwich |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://www.youtube.com/watch?v=zSTEqHxh3fI