Mail Archives: djgpp/2000/07/31/18:55:31
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
:)
- Raw text -