add makefile to repository; add -Wl,-relax to linker flags