Updated makefile and moved sample.c -> main.c