Making line printing in the makefile work as expected