Switching to CMake because I have no idea what I'm doing with Makefiles.