C code and makefiles