From cbdac66fa466555309d652caf864c8a592351257 Mon Sep 17 00:00:00 2001 From: Romuald Conty Date: Fri, 18 Jan 2013 16:05:43 +0100 Subject: [PATCH] Add quick start examples compliation to "make check" --- .gitignore | 2 ++ examples/Makefile.am | 7 ++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 5b8bb71..e40e5bf 100644 --- a/.gitignore +++ b/.gitignore @@ -48,6 +48,8 @@ examples/pn53x-sam examples/pn53x-tamashell examples/pn53x-tamashell-scripts/Makefile examples/pn53x-tamashell-scripts/Makefile.in +examples/quick_start_example1 +examples/quick_start_example2 include/Makefile include/Makefile.in include/nfc/Makefile diff --git a/examples/Makefile.am b/examples/Makefile.am index 60464ad..d822df0 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -19,7 +19,8 @@ bin_PROGRAMS += \ endif check_PROGRAMS = \ - quick_start_example1 + quick_start_example1 \ + quick_start_example2 # set the include path found by configure AM_CPPFLAGS = $(all_includes) $(LIBNFC_CFLAGS) @@ -79,6 +80,10 @@ quick_start_example1_SOURCES = doc/quick_start_example1.c quick_start_example1_LDADD = $(top_builddir)/libnfc/libnfc.la \ $(top_builddir)/utils/libnfcutils.la +quick_start_example2_SOURCES = doc/quick_start_example2.c +quick_start_example2_LDADD = $(top_builddir)/libnfc/libnfc.la \ + $(top_builddir)/utils/libnfcutils.la + dist_man_MANS = \ nfc-anticol.1 \