bug-gnu-utils
[Top][All Lists]
Advanced

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

gmake and implicit dependencies


From: Didier Verna
Subject: gmake and implicit dependencies
Date: Fri, 14 Nov 2008 18:06:49 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) XEmacs/21.5-b28 (linux)

       Hello,

consider this simple makefile, along with a file test.ext and test.dep:

%.ext:
        @echo $@

%.ext: %.dep


Even when test.dep is more recent, gmake tells me that test.ext is up to
date. If however I replace the second rule with an explicit dependency,
as in:

test.ext: test.dep

then, test.ext is correctly seen as outdated.


Does anyone have an explanation ? This is with version 3.81 of gmake
(current on my Debian system).

Thanks !

-- 
Resistance is futile. You will be jazzimilated.

Scientific site:   http://www.lrde.epita.fr/~didier
Music (Jazz) site: http://www.didierverna.com

EPITA/LRDE, 14-16 rue Voltaire, 94276 Le Kremlin-BicĂȘtre, France
Tel. +33 (0)1 44 08 01 85       Fax. +33 (0)1 53 14 59 22




reply via email to

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