Write a makefile to do the compile job