improved makefile for both debug and release builds.
by default, everything will behave the same when deployed with `make all install`

specify debug build with DEBUG=0 command line, or something
further improvements to makefile
Merge branch 'makefile_improvements'

Conflicts:
	src/Makefile