home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!rpi!scott.skidmore.edu!psinntp!psinntp!ncrlnk!usglnk!usdsd1!dkowalsk
- From: dkowalsk@usdsd1.DaytonOH.NCR.COM (Dennis Kowalski)
- Newsgroups: comp.unix.questions
- Subject: MAKE -k option
- Message-ID: <1593@usdsd1.DaytonOH.NCR.COM>
- Date: 9 Sep 92 12:28:15 GMT
- Reply-To: dkowalsk@usdsd1.DaytonOH.NCR.COM (Dennis Kowalski)
- Distribution: world
- Organization: NCR USG Data Services Division
- Lines: 36
-
-
-
- On page 39 of "Managing Projects with MAKE" ISB 0-937-175-18-8
- by Steve Talbott, he explains the -k option.
- He says, when the -k is used, make will cmmpile all the components, but
- not produce a new target if any component had errors.
- It works just as explained, but I have one question.
-
- Take the following example:
-
- progx: x.o y.o z.o
-
- With the -k option in effect all 3 programs (x,y,z) will compile even though
- x and/or y has errors. That way all the errors show up, not just the 1st one.
- The link will be bypassed and no new progx produced.
- This is all just as I want it to work.
-
- My problem is that when the -k option is in effect, make exits with a status
- of 0 even if there were errors.
-
- How can I compile all the modules and get a non-zero status if any of them
- had errors????
-
- By the way, I have several of the NUTSHELL books and highly recommend
- them to others. They are the best.
-
-
- Dennis Kowalski NCR Corporation PCD-3 (513) 445-1843
- Systems Architecture 1700 S. Patterson Blvd VOICEplus 622-1843
- USG Data Services Div Dayton, Ohio 45479
- Dennis.Kowalski@DaytonOH.NCR.COM
- --
- Dennis Kowalski NCR Corporation PCD-3 (513) 445-1843
- Systems Architecture 1700 S. Patterson Blvd VOICEplus 622-1843
- USG Data Services Div Dayton, Ohio 45479
- Dennis.Kowalski@DaytonOH.NCR.COM
-