Makefile.am: move header files from noinst_HEADERS to _SOURCES

Ensures proper recompilation when a header file is edited.
cf https://www.gnu.org/software/automake/manual/html_node/Headers.html
This commit is contained in:
Philippe Teuwen 2013-02-21 22:37:17 +01:00
parent 7af127ac0d
commit 5ced93fcbf
5 changed files with 23 additions and 29 deletions

View file

@ -2,8 +2,7 @@
# set the include path found by configure
AM_CPPFLAGS = $(all_includes) $(LIBNFC_CFLAGS)
noinst_HEADERS = pn53x.h pn53x-internal.h
noinst_LTLIBRARIES = libnfcchips.la
libnfcchips_la_SOURCES = pn53x.c
libnfcchips_la_SOURCES = pn53x.c pn53x.h pn53x-internal.h
libnfcchips_la_CFLAGS = -I$(top_srcdir)/libnfc