help-make
[Top][All Lists]
Advanced

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

Catching the exit status into a make variable


From: Karl
Subject: Catching the exit status into a make variable
Date: Sun, 2 Jan 2011 09:34:26 +0100

Hello everybody,
I have to convert an OpusMake file to gnu make.
After lines like

%.obj : %.cpp
  - $(COMPILER) ...

there is a variable $(STATUS) which contains the exit status.
Dependent on it, the $(EDITOR) is called to allow the user to
correct the errors in the source, and then a line "%abort" is
called to terminate the make run.

Being new to gnu make, I did not found the equivalent in the gnu
make documentation available to me.
Any help is appreciated. Thank you.
- Karl




reply via email to

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