Switch to Makefiles to ease debugging.