updated makefile for main/lib coverage