automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Wishlist: Clean target for generated C files?


From: Perrog
Subject: Re: Wishlist: Clean target for generated C files?
Date: Thu, 1 Mar 2007 12:29:39 +0100

Hi!

2007/2/28, Bob Proulx <address@hidden>:
I would really like a clean target that would remove generated source
files such as generated .c and .h files.  In the case of yacc and lex
I would like to distribute the generated files so as not to require
the use of yacc and lex to compile the distribution.  This rules out
DISTCLEANFILES or that would work.  But they are not true source and
so at times it is useful to delete them and rebuild them.  Such as
when asking the question, which version of flex works and which fails?


Do you mean having a template file with extra rules feeded to automake
command, containing a target like CLEANDERIVED concatenated to every
Makefile.am file. Or do you mean adding a new primitive
_DERIVEDSOURCES to auto-makefiles with a list of intermediare/derived
files? Or both?

Regards,
Roger




reply via email to

[Prev in Thread] Current Thread [Next in Thread]