[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Sat, 04 Aug 2007 20:26:06 +1000
Thunderbird 18.104.22.168 (X11/20060501)
Cédric Lucantis wrote:
Le samedi 04 août 2007, Russell Shaw a écrit :
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
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
(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
I've read that. I used CLEANFILES many months ago and it worked ok.
Now it doesn't.