Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!think.com!linus!agate!ucbvax!bloom-beacon!eru!hagbard!sunic!mcsun!hp4nl!star.cs.vu.nl!geels From: geels@cs.vu.nl (Arnold Geels) Newsgroups: comp.lang.c Subject: Re: Compiler gen'd depends (was: nested includes) Message-ID: <9734@star.cs.vu.nl> Date: 17 Apr 91 09:03:29 GMT References: <1991Apr17.003928.23530@news.iastate.edu> Sender: news@cs.vu.nl Lines: 19 john@iastate.edu (Hascall John Paul) writes: > For those with Ultrix, you may want to check out the undocumented >(in my old docs anyhow) option "-Em", as in this simple-minded example: > > $(CC) -Em $(CFLAGS) $(DEFINES) $(CSOURCES) >>Makefile > >John Gcc and cc (Sun) both have a documented -M flag that tells the compiler to generate makefile dependencies. Gcc also has the -MM flag (exclude system header files). Arno1d. ---------------- Arnold Geels Vrije Universiteit Amsterdam The Netherlands.