Re: Makefile doesnt stop for non zero error codes

2008-06-25 Thread Murali Krishna
Hi This is my code include $(MAKEFILE_INC) CPU = ARMSA110 TOOL= gnu LIB_BASE = $(NCP_SW_HOME)/bin LIB = $(LIB_BASE)/OctalMAC.a LIB_OBJS = macdrv.o PseudoDrvEnd.o #ADDED_C++FLAGS = -w -Wall -pedantic -DOS=VXWORKS -DIOSTYLE=HARDWARE \ # -DVXWORKS -DVX_WORKS -DPETH_DRV -DPETH_NUM_

RE: Makefile doesnt stop for non zero error codes

2008-06-25 Thread Dave Korn
Murali Krishna wrote on 25 June 2008 07:38: > Hi > > I am working in a makefile issue where the makefile doesn't stop > compilation even after it encounters the error in the cpp file. > > The make continues with next rule even though the earlier rule gives the > non zero exit status. What could

RE: Makefile doesnt stop for non zero error codes

2008-06-25 Thread lasse.makholm
-k ? http://www.gnu.org/software/make/manual/make.html#Testing Another possiblity is a command script that unexpectedly returns true. E.g.: foo: gcc ... || true ...will never fail even if gcc fails... /Lasse From: [EMAIL PROTECTED] [mailto