Re: GNU Make app and right text output with echo

2022-02-19 Thread Paul Smith
On Sat, 2022-02-19 at 17:40 +0200, Eli Zaretskii wrote: > > From: > > Date: Sat, 19 Feb 2022 14:25:47 +0100 (CET) > > > > Problem is wisible on follow example of file Makefile.win: > > > > all : > >   echo $(pkg-config --libs glib-2.0) > > This is wrong, you want > > all : >

Re: GNU Make app and right text output with echo

2022-02-19 Thread Eli Zaretskii
> From: > Date: Sat, 19 Feb 2022 14:25:47 +0100 (CET) > > Problem is wisible on follow example of file Makefile.win: > > all : > echo $(pkg-config --libs glib-2.0) This is wrong, you want all : echo $(shell pkg-config --libs glib-2.0) The 'shell' function is missing.

GNU Make app and right text output with echo

2022-02-19 Thread filip-vps
Hello, i don't know how gnu make works, but i ghave problem with one example of Makefile code, under windows, using MSYS2 tool. I have tried two make applications. Classical make.exe and mingw32.make. Problem is wisible on follow example of file Makefile.win: all :      echo $(pkg-config

make re-exec regression in 'make -sf -' mode

2022-02-19 Thread Sergei Trofimovich
Noticed the regression on lowdown-0.10.0 upstream package. Here is a complete trigger: $ printf 'all:\n\techo $(CC)' | make -sf - [good] GNU make 4.3 works as expected: $ printf 'all:\n\techo $(CC)' | make -sf - cc [bad] GNU make from git loops indefinitely in re-execution: $