Conversion to C of block
Updated Makefile for C