help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trapping failed commands


From: Paul D. Smith
Subject: Re: Trapping failed commands
Date: Tue, 1 Feb 2005 21:27:22 -0500

%% address@hidden (Vite Schnell) writes:

  vs> I'm trying to prevent Make from exiting upon receiving a non-zero
  vs> exit status value from a command.  Is there any way I can "trap" a
  vs> failure in order to keep processing other targets?

foo:
      command || true

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist




reply via email to

[Prev in Thread] Current Thread [Next in Thread]