Taking Makefile changes from c-state-machine

Makefile in c-state-machine has some nice features, like examples depend
directly on libraries and not on phony targets. One change that is
required in introduction of include-path target.