|
From: | Russell Shaw |
Subject: | Re: CLEANFILES |
Date: | Sat, 04 Aug 2007 20:26:06 +1000 |
User-agent: | Thunderbird 1.5.0.2 (X11/20060501) |
Cédric Lucantis wrote:
Le samedi 04 août 2007, Russell Shaw a écrit :Hi, I'm using automake 1.9.6. In automake.am, i have: CLEANFILES: *.tab.c *.tab.h *.tab.callback However, in the generated makefile, CLEANFILES appears, but is not referenced anywhere. Therefore, "make clean" doesn't work as it should.Hi,CLEANFILES is not a target but a user variable, so should have something like this instead :CLEANFILES = $(wildcard *.tab) $(wildcard *.tab.h) ...
It makes no difference because the whole point of a user variable is that CLEANFILES should be used by the makefile, but for some reason it isn't.
(I think the wildcard command is better than a shell expansion, but I'm not sure it makes a difference in that case. See info make for more about that)
I've read that. I used CLEANFILES many months ago and it worked ok. Now it doesn't.
[Prev in Thread] | Current Thread | [Next in Thread] |