🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #42219

Gnu Make 3.74 continues after error

#42219
From: Steve Sullivan
Date: Sun, 31 Dec 1995 00:00
31 lines
1289 bytes
Hi -
 
I'm running gnu make 3.74 on Solaris x.86 on a pentium,
and it continues processing the Makefile even after one the
targets failed.  It's as if I used "-k", when in fact I
didn't.  I've tried "make -S", and STILL it continues!
 
The Makefile in question is very simple:
 
=============== begin Makefile ====================
DIRS = suba subb subc
 
all:
        for ii in $(DIRS); do (cd $$ii; make all); done
=============== end Makefile ====================
 
The commands I tried are:
   make
   make -S
and both continued even after an error.
 
When a target in a subdir fails, say suba/xxx, Make leaves the suba
subdirectory but continues on to the next subdir.
 
When I use Sun's make, it quits immediately upon hitting an error.
How can I convince gnu make to likewise quit completely when it
encounters an error?
 
Many thanks for any suggestions -
 
Steve Sullivan
Technical Details
Message-ID: <DKGysu.BDL.0.net@indra.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,462c7c3a1077a015,start
X-Google-Attributes: gid11318c,public
From: sullivan@indra.com (Steve Sullivan)
Subject: Gnu Make 3.74 continues after error
Date: 1995/12/31
Message-ID: <DKGysu.BDL.0.net@indra.com>
X-Deja-AN: 123314156
organization: Indra's Net - Public Internet Access
newsgroups: gnu.gcc.help