> -----Original Message----- > > I don't think you need to use EXTRA_PROGRAMS if you > use the idiom > > bin_PROGRAMS = > if ENABLE_STUFF > bin_PROGRAMS += foo bar > endif
That works too, but with EXTRA_PROGRAMS, you still get the targets---that is, you can still do "make foo bar" if you wanted. The use case here is optionally saving time needed to compile a bunch of sample programs (specified as noinst_PROGRAMS), not disabling targets that would otherwise fail horribly. --Daniel
