improve makefile to build test/c/others testcases