[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CLEANFILES
From: |
Cédric Lucantis |
Subject: |
Re: CLEANFILES |
Date: |
Sat, 4 Aug 2007 11:03:28 +0200 |
User-agent: |
KMail/1.9.7 |
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) ...
(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)
--
Cédric Lucantis
- CLEANFILES, Russell Shaw, 2007/08/04
- Re: CLEANFILES,
Cédric Lucantis <=