added due makefile

libs don’t work
added encoder example