X-Git-Url: http://developer.intra2net.com/git/?p=libftdi;a=blobdiff_plain;f=examples%2FMakefile.am;h=f45c7e5ad0c1ede1fcd118e290036415bd64839d;hp=820599aaa70322d341fca827801ac40395a56d94;hb=d94c58ffc3a3b757fe4d9af61f6d7f887180e0d4;hpb=29b1dfd985a87af8d51034212284f684eb35bc48 diff --git a/examples/Makefile.am b/examples/Makefile.am index 820599a..f45c7e5 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -10,7 +10,8 @@ examples_libftdipp = endif -bin_PROGRAMS = simple \ +if BUILD_EXAMPLES +all_examples = simple \ bitbang \ bitbang2 \ bitbang_ft2232 \ @@ -19,6 +20,10 @@ bin_PROGRAMS = simple \ serial_read \ baud_test \ $(examples_libftdipp) +else +all_examples = +endif +bin_PROGRAMS = $(all_examples) # Don't install the example files AM_LDFLAGS = -no-install