On a recent cvs snapshot I noticed $(EXEEXT) is automatically added to
check_PROGRAMS, bin_PROGRAMS etc, but not to EXTRA_PROGRAMS.  I think
adding it there might be useful for consistency and to let something
like the following work in a demos directory.

        EXTRA_PROGRAMS = foo bar

        CLEANFILES = $(EXTRA_PROGRAMS)
        allprogs: $(EXTRA_PROGRAMS)

This would be providing rules to build foo and bar individually or
under "allprogs", but doing nothing in a "make all" or "make install",
and any resulting executables would be removed under "clean".

--
(Please CC followups.)

Reply via email to