I added back the mailing list, for completeness.
On Sun, 2019-06-02 at 00:25 +0430, Arham Amouei wrote: > I just didn't like the fact that whenever I entered "make clean" the > make first updated depend.mk and then deleted it! Ah. It would have been good if your original questions had been more clear about what the underlying requirement was. Typically people who want to avoid rebuilding included files when certain targets are given on the command line will put them into an ifeq/ifneq statement comparing MAKECMDGOALS. However, even in that situation things are not always so simple, since you might try to run something like "make clean all" to do both with one invocation. _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make