[Top][All Lists]

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

RE: remake of a makefile

From: Asperheim, Eric
Subject: RE: remake of a makefile
Date: Tue, 17 Jul 2001 10:07:40 -0700


I'm not sure I can answer your question exactly. But, I was able to get
gmake to remake the Makefile. A simplified example is below. In your
example, I don't see a command to create the .mk file. Plus, I'm not sure
why you're trying to use a double-colon rule. From gmake doc on double colon
rules "... mechanism for cases in which the method used to update a target
differs depending on which prerequisite files cause the update, and such
cases are rare."

Makefile : <Makefile dependency>
        @ createMakefile <Makefile dependency>

On a non-gmake topic, my wife and I were in Murren, Switzerland a year ago.
We very much enjoyed Switzerland and hope to make it back some day when our
kids are older.


-----Original Message-----
From: Krzysztof Horecki [mailto:address@hidden
Sent: Tuesday, July 17, 2001 7:37 AM
To: address@hidden
Subject: remake of a makefile


I try to install a warning in case the makefile or rather one of its
includes was modified: ::
        @echo WARNING! makefile: $@ has been changed

yet make sees the rule, but by no means I can make it remake the

 Considering target file `../ui/'.
  Looking for an implicit rule for `../ui/'.
  Trying pattern rule with stem `ui'.
  Found an implicit rule for `../ui/'.
  Finished prerequisites of target file `../ui/'.
 No need to remake target `../ui/'.

(I use make 3.79.1)


AutoForm Engineering GmbH
Technoparkstrasse 1
CH-8005 Z├╝rich / Switzerland

Tel: +41 1 445 2121
Fax: +41 1 445 2122

Help-make mailing list

reply via email to

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