add cmds.c into Makefile