ticket:1 rewritten makefile