Skip to content

Instantly share code, notes, and snippets.

@gvangool
Created September 9, 2010 15:01
Show Gist options
  • Save gvangool/571975 to your computer and use it in GitHub Desktop.
Save gvangool/571975 to your computer and use it in GitHub Desktop.
.PHONY: me him her yourself a sandwich all
me:
@echo -n '';
him:
@echo -n '';
her:
@echo -n '';
yourself:
@echo -n '';
a:
@echo -n '';
sandwich:
@[ `id -u` -eq 0 ] && echo "Okay." || echo "What? Make it yourself!"
all:
@echo -n '';
@gvangool
Copy link
Author

gvangool commented Sep 9, 2010

$ make me a sandwich
What? Make it yourself!
$ sudo make me a sandwich
Okay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment