From 22cc27ef1b7ca5f4f0f4227240f0a1ebbb0e256c Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Mon, 21 Jan 2019 17:46:11 +0000 Subject: [PATCH] Update Makefile --- tigge/Makefile.am | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/tigge/Makefile.am b/tigge/Makefile.am index 43d3413ef..5ef416b64 100755 --- a/tigge/Makefile.am +++ b/tigge/Makefile.am @@ -1,17 +1,21 @@ AM_CFLAGS = @WARN_PEDANTIC@ @WERROR@ -bin_PROGRAMS = tigge_check tigge_name tigge_accumulations tigge_split +noinst_LTLIBRARIES = libtigge_tools.la +libtigge_tools_la_SOURCES = tigge_tools.c tigge_tools.h -tigge_check_SOURCES = tigge_check.c \ - tigge_check.h -tigge_name_SOURCES = tigge_name.c -tigge_split_SOURCES = tigge_split.c +bin_PROGRAMS = tigge_check tigge_name tigge_accumulations tigge_split + +tigge_check_SOURCES = tigge_check.c \ + tigge_check.h + +tigge_name_SOURCES = tigge_name.c +tigge_split_SOURCES = tigge_split.c tigge_accumulations_SOURCES = tigge_accumulations.c INCLUDES = -I$(top_builddir)/src -LDADD = $(top_builddir)/src/libeccodes.la +LDADD = libtigge_tools.la $(top_builddir)/src/libeccodes.la DEPENDENCIES = $(LDADD) EXTRA_DIST = CMakeLists.txt