compile snippets in Makefil