Question WHY is gnu make does not stop on error on rule

2022-12-08 Thread aotto
Hi, I use "automake" to setup a "gnu make" build-environment and I have the following rule to create a special file: Problem: the "$(c_Meta)" failed with error but MAKE continue… why?? = csmkkernel_meta  :=  $(srcdir)/.LibMkKernel_cs.meta cs

Re: Question WHY is gnu make does not stop on error on rule

2022-12-08 Thread aotto
On 08.12.22 14:49, Paul Smith wrote: On Thu, 2022-12-08 at 11:18 +0100, aotto wrote: Problem: the "$(c_Meta)" failed with error but MAKE continue… why?? Make uses the exit code of the process to determine whether the command should be considered to have succeeded (exits with 0)

Re: Question WHY is gnu make does not stop on error on rule

2022-12-08 Thread aotto
On 08.12.22 18:25, Kaz Kylheku wrote: On 2022-12-08 09:00, aotto wrote: I found the reason, it was the "-silent" switch. -s, --silent, --quiet    Silent operation; do not print the commands as they are executed. but in reality the "-silent" switch even

Re: Question WHY is gnu make does not stop on error on rule

2022-12-08 Thread aotto
HA HA HA - I fund the bug !! I used "-silent" and not "--silent", the "-silent" is parsed as -s, --silent, --quiet    aktiviert den stillen Modus, in dem die ausgeführten Befehle nicht ausgegeben werden. -i, --ignore-errors    ignoriert alle von den Befehlen zur Neuerstellung

Re: Question WHY is gnu make does not stop on error on rule

2022-12-08 Thread aotto
On 08.12.22 20:21, Paul Smith wrote: On Thu, 2022-12-08 at 19:59 +0100, aotto wrote: HA HA HA - I fund the bug !! I used "-silent" and not "--silent", the "-silent" is parsed as That's funny, but I'm not sure why it works differently in 4.4 since th

problem with interaction between gnu-automake and gnu-make

2024-09-18 Thread aotto
Hi, I run into a problem like: > theConfig/c/Makefile_local.mk:40: error: endif without if which is a command-namespace clash between "gnu-automake" and "gnu-make" sharing the "endif" command: -> this is the same problem as: https://lists.gnu.org/archive/html/automake/2000-10/msg00107.html

Re: problem with interaction between gnu-automake and gnu-make

2024-09-18 Thread aotto
On 18.09.24 10:21, aotto wrote: Hi, I run into a problem like: > theConfig/c/Makefile_local.mk:40: error: endif without if which is a command-namespace clash between "gnu-automake" and "gnu-make" sharing the "endif" command: -> this is the same proble