Sanitize makefile for general use