torch sample makefile