How about: echo "no valid CHIP defined in your Makefile" That's how I'd do it in UNIX anyway. Cheers, Zik On 11/06/06, Wouter van Ooijen wrote: > I have a (GNU) Makefile that does some checks. If a check fails, I want > to report that to the user. Is there a way to do that? The best I can > find so far is something ugly like > > ifndef CHIP_VALID > include no_valid_CHIP_defined_in_your_Makefile > endif > > Wouter van Ooijen > > -- ------------------------------------------- > Van Ooijen Technische Informatica: www.voti.nl > consultancy, development, PICmicro products > docent Hogeschool van Utrecht: www.voti.nl/hvu > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist