what do you mean exactly? You can put all the code in one file, or use something like https://hardhat.org/hardhat-runner/docs/advanced/flattening
No, when having multiple contracts in the repo, I want to compile just single contract file instead of all contract files