The current makefile is messy. There is a correct usage of Autotools to process the C code and objects. We should integrate it as such.