Fixed makefile
Added initial c functions and types