add makefile for test
fix makefile