Makefile

DESTDIR is needed for packaging and a commonly used variable in build systems, it should only be used in the install rules, not in the variable assignments
system/env CFLAGS and LDFLAGS are completely ignored which is not good
CFLAGS ?= foo <- this will set a default and will be ignored if that variable is already in the environment