- How to make execution of Makefile continuous
- Posted by wensa on February 16th, 2006
When one of the commands in Makefile failed, that is return error code
1,
make program stops.
I want the making process unstopable even facing error code 1.
How to do that? Is there any parameter to set?
Thanks in advance!
- Posted by Ico on February 16th, 2006
wensa <zhengwt@gmail.com> wrote:
prepend a minus before the actual command, this will make Make ignore
the error. For example :
target:
-rm somefile
--
:wq
^X^Cy^K^X^C^C^C^C
- Posted by Jagmeet Singh Hanspal on February 17th, 2006
I think you could have easily figured this one out.
(Hint: man make)
Or probably a simple googling would have helped.
use -i switch for make, which will ignore all errors in commands
executed.
Example: make -i <target>
~
Jagmeet
~
Nice signature Ico... :wq ^X^Cy^K^X^C.... ha ha ha
Similar Posts
- How to write this Makefile (Programming) by wensa
- Visual Studio .mak to Linux Makefile (Programming) by gourav.jain@gmail.com
- A question about Makefile variable (Programming) by Vinayak Naik
- Makefile question relating to conditional (Programming) by hzmonte@hotmail.com
- Makefile (Programming) by Christian Christmann

