Add quick start examples compliation to "make check"

This commit is contained in:
Romuald Conty 2013-01-18 16:05:43 +01:00
parent 9a3a43cdba
commit cbdac66fa4
2 changed files with 8 additions and 1 deletions

2
.gitignore vendored
View file

@ -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

View file

@ -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 \