Add makefile config to build writer tool