add a makefile for sample