revise Makefile to build test program