Updating makefiles for ESP