Date: Mon, 31 Jul 2000 21:38:53 +0600 (LKT) From: Kalum Somaratna aka Grendel X-Sender: kalum AT roadrunner DOT grendel DOT net To: Eli Zaretskii cc: Vikas Yadav , DJGPP Subject: Re: Makefiles In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Mon, 31 Jul 2000, Eli Zaretskii spoke the following immortal words, > > On Mon, 31 Jul 2000, Vikas Yadav wrote: > > > Is there a tool that can help in creating makefiles, > > like calculating dependancies etc. other than RHIDE. > > Read about the GCC command-line option -MM. The node "Automatic > Prerequisites" in the Make manual explains how to use it for automatic > dependency computations. Better still IMHO of course, would be GNU automake. Here is all I have to do to get automake to create a fully functional makefile with all the dependencies. bin_PROGRAMS = hello proz_SOURCES = curses.c misc.c url.c INCLUDES = -I. -I.. -I AT includedir@ CFLAGS = @CFLAGS@ @GLIB_CFLAGS@ @GTK_CFLAGS@ -D_REENTRANT -Wall LDADD = -L AT libdir@ LIBS = @LIBS@ @GTK_LIBS@ DEFS = @DEFS@ So if you plan to use Autoconf, Automake is your best and easiest bet IMHO. Grendel Hi, I'm a signature virus. plz set me as your signature and help me spread :)