Update and rename encode.c to Makefile