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:
parent
7af127ac0d
commit
5ced93fcbf
5 changed files with 23 additions and 29 deletions
|
|
@ -10,35 +10,34 @@ bin_PROGRAMS = \
|
|||
# set the include path found by configure
|
||||
AM_CPPFLAGS = $(all_includes) $(LIBNFC_CFLAGS)
|
||||
|
||||
noinst_HEADERS = mifare.h nfc-utils.h
|
||||
noinst_LTLIBRARIES = libnfcutils.la
|
||||
|
||||
libnfcutils_la_SOURCES = nfc-utils.c
|
||||
|
||||
nfc_emulate_forum_tag4_SOURCES = nfc-emulate-forum-tag4.c
|
||||
nfc_emulate_forum_tag4_SOURCES = nfc-emulate-forum-tag4.c nfc-utils.h
|
||||
nfc_emulate_forum_tag4_LDADD = $(top_builddir)/libnfc/libnfc.la \
|
||||
libnfcutils.la
|
||||
|
||||
nfc_list_SOURCES = nfc-list.c
|
||||
nfc_list_SOURCES = nfc-list.c nfc-utils.h
|
||||
nfc_list_LDADD = $(top_builddir)/libnfc/libnfc.la \
|
||||
libnfcutils.la
|
||||
|
||||
nfc_mfclassic_SOURCES = nfc-mfclassic.c mifare.c mifare.h
|
||||
nfc_mfclassic_SOURCES = nfc-mfclassic.c mifare.c mifare.h nfc-utils.h
|
||||
nfc_mfclassic_LDADD = $(top_builddir)/libnfc/libnfc.la \
|
||||
libnfcutils.la
|
||||
|
||||
nfc_mfultralight_SOURCES = nfc-mfultralight.c mifare.c mifare.h
|
||||
nfc_mfultralight_SOURCES = nfc-mfultralight.c mifare.c mifare.h nfc-utils.h
|
||||
nfc_mfultralight_LDADD = $(top_builddir)/libnfc/libnfc.la
|
||||
|
||||
nfc_read_forum_tag3_SOURCES = nfc-read-forum-tag3.c
|
||||
nfc_read_forum_tag3_SOURCES = nfc-read-forum-tag3.c nfc-utils.h
|
||||
nfc_read_forum_tag3_LDADD = $(top_builddir)/libnfc/libnfc.la \
|
||||
libnfcutils.la
|
||||
|
||||
nfc_relay_picc_SOURCES = nfc-relay-picc.c
|
||||
nfc_relay_picc_SOURCES = nfc-relay-picc.c nfc-utils.h
|
||||
nfc_relay_picc_LDADD = $(top_builddir)/libnfc/libnfc.la \
|
||||
libnfcutils.la
|
||||
|
||||
nfc_scan_device_SOURCES = nfc-scan-device.c
|
||||
nfc_scan_device_SOURCES = nfc-scan-device.c nfc-utils.h
|
||||
nfc_scan_device_LDADD = $(top_builddir)/libnfc/libnfc.la \
|
||||
libnfcutils.la
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue