ticket:1 makefile magic