add c makefile for version