This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


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

Re: make depend


Garton <rgarton@amp.com> writes:
>Would anyone know where I can pick up a tool that allows me to process
>the project files and append the .h dependencies to my makefile? There
>used to be a comparable tool in UNIX that I used called mkdepend ...

Unless gnu-win32 port dropped it

gcc -MD foo.c

Writes foo.d for each .c file.
Then just 

-include $(wildcard *.d) 

In your (GNU) makefile


-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


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