This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

dependancies in automake


Tom,

You mentioned the -M switch. In Sun Proc CC 4.2 it is -xM to generate
dependancies.

This would be most useful, as I currently turn off the dependancy
generation.

From man CC:

      -xM       Outputs makefile dependency information.  For
               example, with the following code, hello.c:
               #include <stdio.h>
               main()
               {
                 (void) printf ( "hello0" );
               }
               When you compile with this option:
               % CC -xM hello.c
               The output shows the dependencies:
               hello.o: hello.c
               hello.o: /usr/include/stdio.h
               See make(1) for details about makefiles and depen-
               dencies.

Regards,
Alex.

-- 
Alex Hornby                        	       Mail:    alex@anvil.co.uk
Anvil Software Limited			       Tel:    +(44)171 749 7900
51-53 Rivington Street			       Direct: +(44)171 749 7925
London EC2A 3SE				       Fax:    +(44)171 749 7916


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]