[Top][All Lists]

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

Re: makedepend and automake

From: Tim Van Holder
Subject: Re: makedepend and automake
Date: Tue, 24 Jul 2001 18:41:58 +0200

> 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 (for the options) and in the script.
> Do someone of you know how I can solve this problem?
> These are the files and
> 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
Then typing 'make depend' would run makedepend with the current

reply via email to

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