How to tell make to not try to remake source files?

2024-01-27 Thread Antonio Diaz Diaz
Hello, In order to increase the efficiency of the build, I added empty recipes to my makefiles to prevent 'make' from trying to remake source files: $(VPATH)/configure $(VPATH)/Makefile.in $(VPATH)/doc/$(pkgname).texi : ; %.h %.cc : ; It works. The output of 'make -d' is reduced to less than

Re: How to tell make to not try to remake source files?

2024-01-27 Thread Paul Smith
On Sat, 2024-01-27 at 20:00 +0100, Antonio Diaz Diaz wrote: > In order to increase the efficiency of the build, I added empty > recipes to my makefiles to prevent 'make' from trying to remake > source files: A simpler and more effective way to increase efficiency and reduce the output of -d is to

Re: How to tell make to not try to remake source files?

2024-01-27 Thread Kaz Kylheku
On 2024-01-27 11:00, Antonio Diaz Diaz wrote: > Hello, > > In order to increase the efficiency of the build, I added empty recipes to my > makefiles to prevent 'make' from trying to remake source files: Make does not remake any files which exist already and which are not the targets of rules.