Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Managed Build rebuilding whole folder when options of one file change

> With that change, does it not make you get a rebuild anyway the first time to change the setting of a specific file?
> I assume that the added "include foo.o.mk" line to subdir.mk will cause all other files in the directory (that have the pattern rule) to be rebuilt. Wasn't this what you were aiming to avoid?
> After the specific rule file has been created and added to subdir.mk, then I suppose it would work in the way you want.

Yes, that is true. That seemed unavoidable. I was mainly concerned with the case of changing the options on a file that already has special options. But now that I think about it, I guess it could actually be avoided by putting the pattern rule in its own file as well, so that no rule has subdir.mk as a dependency anymore. Let me try that…

 -Christian


-- 
Indel AG
Christian Walther - Software
Tuefiwis 26
CH-8332 Russikon
Switzerland

Tel.: +41 44 956 20 00
www.indel.ch
------------------------------------------------------------------------------------------
New product GIN-MAX4x4: The compact 4-axis motion board now also available as PRO version!
https://www.indel.ch/en/products/drives/compact-motion-drives



Back to the top