added function to help with using makefiles