Commit 6db59d29 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Change link of library in test programs.

* This ensures dependencies on the library are generated.
parent 052f096f
......@@ -15,8 +15,7 @@ cksum_read_SOURCES = cksum_read.c \
ensure_array_size.h ensure_array_size.c
pio_write_SOURCES = pio_write.c cksum.h cksum.c
#
LDADD = -L../src -lcdi -lm
AM_LDFLAGS = -L$(top_srcdir)/src
LDADD = ../src/libcdi.la -lm
INCLUDES = -I$(top_srcdir)/src
#
EXTRA_DIST = $(TESTS)
......
......@@ -70,19 +70,19 @@ am_cksum_read_OBJECTS = cksum_read.$(OBJEXT) var_cksum.$(OBJEXT) \
ensure_array_size.$(OBJEXT)
cksum_read_OBJECTS = $(am_cksum_read_OBJECTS)
cksum_read_LDADD = $(LDADD)
cksum_read_DEPENDENCIES =
cksum_read_DEPENDENCIES = ../src/libcdi.la
am_cksum_write_OBJECTS = cksum_write.$(OBJEXT) cksum.$(OBJEXT)
cksum_write_OBJECTS = $(am_cksum_write_OBJECTS)
cksum_write_LDADD = $(LDADD)
cksum_write_DEPENDENCIES =
cksum_write_DEPENDENCIES = ../src/libcdi.la
am_pio_write_OBJECTS = pio_write.$(OBJEXT) cksum.$(OBJEXT)
pio_write_OBJECTS = $(am_pio_write_OBJECTS)
pio_write_LDADD = $(LDADD)
pio_write_DEPENDENCIES =
pio_write_DEPENDENCIES = ../src/libcdi.la
am_test_grib_OBJECTS = test_grib.$(OBJEXT)
test_grib_OBJECTS = $(am_test_grib_OBJECTS)
test_grib_LDADD = $(LDADD)
test_grib_DEPENDENCIES =
test_grib_DEPENDENCIES = ../src/libcdi.la
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/src
depcomp = $(SHELL) $(top_srcdir)/config/depcomp
am__depfiles_maybe = depfiles
......@@ -298,8 +298,7 @@ cksum_read_SOURCES = cksum_read.c \
pio_write_SOURCES = pio_write.c cksum.h cksum.c
#
LDADD = -L../src -lcdi -lm
AM_LDFLAGS = -L$(top_srcdir)/src
LDADD = ../src/libcdi.la -lm
INCLUDES = -I$(top_srcdir)/src
#
EXTRA_DIST = $(TESTS)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment