Correct makefile

Allow setting of CFLAGS through environmental variables.
Use LDFLAGS