delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/03/13/04:31:54

From: nik AT tiuk DOT ti DOT com (Nick Ing-Simmons)
Subject: Re: make depend
13 Mar 1997 04:31:54 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199703130838.IAA12061.cygnus.gnu-win32@pluto.tiuk.ti.com>
References: <199703130018 DOT QAA18199 AT cygnus DOT com>
Original-To: rgarton AT amp DOT com
Original-Cc: "'gnu-win32 AT cygnus DOT com'" <gnu-win32 AT cygnus DOT com>
In-Reply-To: <199703130018.QAA18199@cygnus.com> from Garton on Wed,
12 Mar 1997 19: 18:42 -0500
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Garton <rgarton AT amp DOT 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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019