Add a makefile and update the travis configuration to use it.