A generalization of the Coulomb’s friction law: from graphene to macroscale