add C code with a Makefile