To build libmotion_driver type
make && make install

To build the sample type
make -f Makefile.sample
