Add Makefile in rail