commit 80be4bb82a1f7af7df64a1485f4dc0375c8bfdaa
parent 9e3163492783e6e9967f84b201abc35a3e9b731c
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Wed, 11 Oct 2023 17:07:59 +0200
Fix the Makefile target used to link tests
This target must depend on the htmie library to force its execution in
the event of a library change.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -187,6 +187,6 @@ $(TEST_DEP): config.mk rnatm-local.pc
src/test_rnatm.o: config.mk rnatm-local.pc
$(CC) $(CFLAGS_EXE) $(RSYS_CFLAGS) $(RNATM_CFLAGS) -c $(@:.o=.c) -o $@
-test_rnatm: src/test_rnatm.o config.mk rnatm-local.pc
+test_rnatm: src/test_rnatm.o config.mk rnatm-local.pc $(LIBNAME)
$(CC) $(CFLAGS_EXE) $(RSYS_CFLAGS) $(RNATM_CFLAGS) -o $@ src/$@.o \
$(LDFLAGS_EXE) $(RSYS_LIBS) $(RNATM_LIBS)