correct makefile for cmd printing