Macros, makefile and references