aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorMichał Łyszczek <michal.lyszczek@bofc.pl>2018-11-14 22:21:14 +0100
committerMichał Łyszczek <michal.lyszczek@bofc.pl>2018-11-14 22:21:24 +0100
commit3acd2a0f4b79df961e52e644835973ff404bca44 (patch)
treed25ceba3b31acd8447683958cc30b784710b058a /examples
parenta99d0c42a0d51fdc604a120381483db24f771265 (diff)
downloadembedlog-3acd2a0f4b79df961e52e644835973ff404bca44.tar.gz
embedlog-3acd2a0f4b79df961e52e644835973ff404bca44.tar.bz2
embedlog-3acd2a0f4b79df961e52e644835973ff404bca44.zip
makefile: do not build examples with make all
no_buildbot
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile.am11
1 files changed, 10 insertions, 1 deletions
diff --git a/examples/Makefile.am b/examples/Makefile.am
index c5e8b83..c081b20 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -1,9 +1,18 @@
include $(top_srcdir)/embedlog-sources.mk
-bin_PROGRAMS = print_to_file print_options print_simple print_memory print_tty
CFLAGS += -I$(top_srcdir)/include -I$(top_srcdir)/src
+EXTRA_PROGRAMS = print_to_file \
+ print_options \
+ print_simple \
+ print_memory \
+ print_tty
print_to_file_SOURCES = print-to-file.c $(embedlog_sources)
print_options_SOURCES = print-options.c $(embedlog_sources)
print_simple_SOURCES = print-simple.c $(embedlog_sources)
print_memory_SOURCES = print-memory.c $(embedlog_sources)
print_tty_SOURCES = print-tty.c $(embedlog_sources)
+
+examples: $(EXTRA_PROGRAMS)
+
+clean-local:
+ rm -f $(EXTRA_PROGRAMS)