make subfolders as static libs