Reputation: 29655
I am using autoconf. Right now I have an intermediate .cpp file that is generated. I want to have the .cpp file deleted when I do a "make clean".
I tried specifying the file in a CONFIG_CLEAN_FILES
variable, but that only takes effect when I do a make distlclean
. Is there a variable to set to delete the file when I do a make clean
? If not, how do I do it?
Thanks
Upvotes: 2
Views: 2197
Reputation: 29655
The correct MOSTLYCLEANFILES or CLEANFILES. DISTCLEANFILES is for "make distclean"
Thanks @Rhys for the correct link to http://www.gnu.org/software/automake/manual/html_node/Clean.html#Clean
Upvotes: 2
Reputation: 1332
Use DISTCLEANFILES, I think.
See http://www.gnu.org/software/automake/manual/html_node/Clean.html#Clean
Upvotes: 1