Re: Suggested feature design for https://savannah.gnu.org/bugs/?42125

2016-04-23 Thread Paul Smith
On Thu, 2016-04-21 at 08:29 +0100, Tristan Wibberley wrote: > x86-64 x86 armel: %=build/%/main.o: main.c ; true > factors :: path=subst : prerequisites ; recipe Almost all the syntax you suggest that uses "=" is not possible, because it already has a well-defined meaning: it defines target-specif

GNU make release candidate 4.1.90 available for download

2016-04-23 Thread Paul Smith
GNU make is a tool which controls the generation of executables and other non-source files of a program from the program's source files. You can learn more at: http://www.gnu.org/software/make/ ---

Re: ifeq and ifneq not working

2016-04-23 Thread Martin Dorey
TESTSRC depends on $@, an automatic variable set at the time of recipe execution. ifneq by contrast runs earlier. https://www.gnu.org/software/make/manual/html_node/Conditionals.html#Conditionals explains "Conditionals control what make actually “sees” in the makefile, so they cannot be used

ifeq and ifneq not working

2016-04-23 Thread Sedrubal
Hi, I'm not sure but I think I found a bug in ifeq and ifneq: My project structure is like this: $ tree . ├── Makefile ├── subprojA │ ├── src.cpp │ ├── Makefile │ └── test.cpp └── subprojA ├── src.cpp ├── Makefile └── test.cpp The upper Makefile should run `make test` for each