On Wed, Mar 9, 2022 at 5:52 AM Ammar Faizi wrote: > This is ugly, it blindly adds all of them to the dependency while > they're actually not dependencies for all the C files here. For > example, when compiling for x86, we don't touch aarch64 files. > > It is not a problem for liburing at the moment, because we don't > have many files in the src directory now. But I think we better > provide a long term solution on this. > > For the headers files, I think we should rely on the compilers to > generate the dependency list with something like: > > "-MT ... -MMD -MP -MF" > > Then include the generated dependency list to the Makefile. > > What do you think? Yes, I think it's better to do that. I'll fix this in v2. thx -- Viro