#3825: added common makefile and single place for removing console output