add Makefile

Justs adds a makefile with test, install, clean targets.