Addd newline to the end of the Makedef files
use CPPFLAGS to hold Prerocessing flags
Use $(MAKE) to allow use of job control
use $(RM) for the remove command
use $(AR) inplace of ar
Add to CLFAGS and LDFLAGS, not overwrite
Only overwrite LD to GNU C++
Strip whitespace