add example
update makefile to generate header
update makefile to generate library for GPc