|
From: | Mauro Russo |
Subject: | maybe bug |
Date: | Fri, 5 Sep 2003 09:01:42 +0200 |
i launched this Makefile :
__%.cpp : %.cpp
@echo #new_file .myd
> $*.myd
%.cpp : a
@echo //New_file .cpp >
$*.cpp
with command make (GNU make version 3.79.1)
__base.cpp in a directory where doesn't exist the file base.cpp but it exists
the file a.
When make matches the target __%.cpp, it tries the
prerequisite base.cpp (i think it looks for a chain of implicit rules), but it
doesn't match the target %.cpp of the second implicit rule.
I apologies if i'm wrong, but in the gnu make
manual (pdf version) at the 10.4, pag. 95-96 is written that an intermediate
file is created only if his prerequisities exist. In this case it should be like
that!
|
[Prev in Thread] | Current Thread | [Next in Thread] |