Answer the question
In order to leave comments, you need to log in
How to change a file during makefile execution?
Good afternoon.
It is necessary to implement a thing so that when a certain goal is executed in the makefile, one of the connected configuration files to the makefile is changed.
So far I have thought that it is possible to implement such a thing by calling a bat-nick, but maybe it is possible to think differently?
I am compiling a gcc project under Windows.
Upd. More precisely and more concisely, the question can be formulated: how to count the number of launches of makefall?
Answer the question
In order to leave comments, you need to log in
It is better not to change the configuration files, but depending on the purpose, load another config, and keep ALL configuration files. Because after the change, you will then revert (or push into a turnip), and sometimes you will also have to make changes to the changes (shit) ...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question