Add warning/error flags to makefile.