add a makefile template for lyx