Use the make variable so that the correct make gets used.
Use the standard environment variable name for preprocessor flags.
	Make makefile linking rules more consistent remove the LD indirection.
Make -static build time configurable