use gnu makefile for full build
pass device version via make
auto generate libsize