refine makfile to build tests