Your flags should be encoded in the OBJDIR name indeed. It is most likely more correct anyway, as you can&#x27;t always assume you can mix two objects which were compiled with different flags.<p>An example is C++, where often standard libraries don&#x27;t allow mixing debug and release code.