You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During a routine review of our Makefile, I noticed that we're manually adding makefiles from the subdirectories. This method could potentially reduce our code maintainability, especially as our project grows and more makefiles are added to subdirectories.
To improve this, I propose a refactoring of the Makefile to use the wildcard function. This function will automatically include all makefiles in the subdirectories, meaning we will not have to modify the Makefile each time a new makefile is added.
This new line will find all directories under .config/make and include any .mak files within them.
This change significantly improves maintainability and streamlines our project structure. I would appreciate your thoughts on this. If there are no objections, I will proceed with this refactor.
The text was updated successfully, but these errors were encountered:
Hello Team,
During a routine review of our Makefile, I noticed that we're manually adding makefiles from the subdirectories. This method could potentially reduce our code maintainability, especially as our project grows and more makefiles are added to subdirectories.
To improve this, I propose a refactoring of the Makefile to use the wildcard function. This function will automatically include all makefiles in the subdirectories, meaning we will not have to modify the Makefile each time a new makefile is added.
Here is the proposed change:
This new line will find all directories under
.config/make
and include any.mak
files within them.This change significantly improves maintainability and streamlines our project structure. I would appreciate your thoughts on this. If there are no objections, I will proceed with this refactor.
The text was updated successfully, but these errors were encountered: