copy Makefile [master]->[headless]