reads complete commands and Makefile for the tool