Skip to content

Instantly share code, notes, and snippets.

@groundwater
Created February 24, 2013 22:28
Show Gist options
  • Save groundwater/5026006 to your computer and use it in GitHub Desktop.
Save groundwater/5026006 to your computer and use it in GitHub Desktop.
  1. Do not use Makefiles to run application/server processes. Instead, use them to build/configure/setup your processes such than they can be invoked by a single command.
  2. Be idempotent. Running a make command twice in a row should be identical to running it once.
  3. Provide cleanup methods to delete generated content.
  4. Be habitual. You should use make commands constantly, otherwise your Makefile will drift out of sync from your application.
  5. Be complete. After a git-clone, the application should be usable after a single make command.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment