[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 |
Kilu,
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.
Eric
-----Original Message-----
From: Krzysztof Horecki [mailto:address@hidden
Sent: Tuesday, July 17, 2001 7:37 AM
To: address@hidden
Subject: remake of a makefile
Hi,
I try to install a warning in case the makefile or rather one of its
includes was modified:
%.mk ::
@echo WARNING! makefile: $@ has been changed
yet make sees the rule, but by no means I can make it remake the %.mk
file:
Considering target file `../ui/ui.mk'.
Looking for an implicit rule for `../ui/ui.mk'.
Trying pattern rule with stem `ui'.
Found an implicit rule for `../ui/ui.mk'.
Finished prerequisites of target file `../ui/ui.mk'.
No need to remake target `../ui/ui.mk'.
(I use make 3.79.1)
Kilu
--
============================
AutoForm Engineering GmbH
Technoparkstrasse 1
CH-8005 Zürich / Switzerland
Tel: +41 1 445 2121
Fax: +41 1 445 2122
www.autoform.ch
============================
_______________________________________________
Help-make mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/help-make
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- RE: remake of a makefile,
Asperheim, Eric <=