added .c and Makefile