update makefile
init child functions