Start using make. The next step is simplify/prettify code.