Updated makefile to compile c code aswell