Makefile to training