automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: makedepend and automake


From: Robert Boehne
Subject: Re: makedepend and automake
Date: Wed, 25 Jul 2001 15:45:07 -0500

Salvatore:

It seems that there is no need for this, as Automake supports
dependency generation much more advanced than this.
It also can use makedepend if that is the LCD.

Robert


Tim Van Holder wrote:
> 
> > Now I have a script that do the following things:
> >
> > aclocal
> > autoconf
> > automake -a
> > ./configure
> > makedepend <some options> *.cpp
> >
> > the problem with this approac is that each time an option will change I
> > need to modify the Makefile.am (for the options) and in the script.
> >
> > Do someone of you know how I can solve this problem?
> >
> > These are the files Makefile.am and configure.in
> >
> > Makefile.am:
> >
> > bin_PROGRAMS = prova
> > prova_SOURCES = A.cpp B.cpp
> > AUTOMAKE_OPTIONS = no-dependencies
> 
> My guess would be to add something like
> 
> depend: $(prova_SOURCES)
>         makedepend $(CXXFLAGS) $(AM_CXXFLAGS) $(prova_SOURCES)
> 
> to your Makefile.am.
> Then typing 'make depend' would run makedepend with the current
> options.

-- 
Robert Boehne             Software Engineer
Ricardo Software   Chicago Technical Center
TEL: (630)789-0003 x. 238
FAX: (630)789-0127
email:  address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]