add files for static and shared libs
untested
include compile in fiels separately
default to release