Allow BIN_NAME to be defined on the command line (or a makefile that includes this one)
LD_FLAGS in debug: was misspelt as "LD_FALGS"
Merge pull request #3 from benjolitz/patch-1

LD_FLAGS in debug: was misspelt as "LD_FALGS"
Merge pull request #2 from jmh045000/ENH/binname

Allow BIN_NAME to be defined on the command line (or a makefile that inc...
LD_FLAGS renamed to LDFLAGS to match implicit variable
Made version numbering more verbose.

Version tags are now in the form vMAJOR.MINOR.PATCH[-description]. Presumably most distributed versions will be tagged, therefore the in many cases the revision number adds limited information. The patch number allows more control to differentiate minor changes, bugfixes, etc.
Forgot to commit updated readme...
Improves adherence to GNU makefile conventions.

Added SHELL variable. Fixes #4.
Added .SUFFIXES.
Added INSTALL/INSTALL_PROGRAM/INSTALL_DATA.
Added uninstall target.
Compiler flag '-g' is default for all builds.
Added explicit DEBUG define for debug builds.
Conditional assignment of CXX.
Update README.md

Specified timing limitations on Mac.
Added time-based sorting of source files and improved versioning.

By default source files are sorted by time stamp with the most recent files compiled first. If find, sort, or cut is unavailable, a fallback option is provided using a recursive version of GNU make's wildcard function (see http://blog.jgc.org/2011/07/gnu-make-recursive-wildcard-function.html). Closes #7.

Checks were added so that version macros are only generated when the makefile is used in a git repo that has tags.
Update Makefile comments
Modify to C