add makefile function help