Using a global .dir-locals.el file is a better alternative than reincluding the same emacs header in every file of the project.
We currently check examples are buildable with waf which doesn't need the libraries to be specified in a make.inc file. Having the makefiles there is misleading since people try to build and realize the build is broken.