help-make
[Top][All Lists]
Advanced

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

Re: generate dependency files problem


From: John Graham-Cumming
Subject: Re: generate dependency files problem
Date: Mon, 25 Jun 2007 13:57:06 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040208 Thunderbird/0.5 Mnenhy/0.6.0.104

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

It all looks good and yet you are not getting any error messages, so
that means the include $(dependencies) is never happening and I know
why.  Here's the relevant snippet of code:

clean:
        rm $(objects) $(libraries) \
        $(dependencies)


ifneq "$(MAKECMDGOALS)" "clean"
        include $(dependencies)
endif

There's a stray tab before the 'include' which means that it actually
gets included as one of the commands to run when you do 'clean' (except,
of course, it doesn't because of the ifneq.   Remove that tab and it'll
work.

John.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGf62RLphrp73n/hARAjV3AKDSmrSyb5aR6IVWjvW7sJDi5hps+gCdE93g
Fneq7VrLTrhT4Gu+lUSF7bw=
=xJIv
-----END PGP SIGNATURE-----




reply via email to

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