commit 86d45d32e18254fbe7c7aa1c76448984061411ee
parent 1c4135a4139b6e79ba828b29dc0096ad23960aaa
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Wed, 11 Oct 2023 16:58:03 +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, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -192,8 +192,8 @@ src/test_atrstm.o src/test_atrstm_radcoefs.o: config.mk atrstm-local.pc
src/test_atrstm_radcoefs_simd.o: config.mk atrstm-local.pc
$(CC) $(CFLAGS_EXE) $(RSYS_CFLAGS) $(ATRSTM_CFLAGS) $(RSIMD_CFLAGS) -c $(@:.o=.c) -o $@
-test_atrstm test_atrstm_radcoefs: config.mk atrstm-local.pc
+test_atrstm test_atrstm_radcoefs: config.mk atrstm-local.pc $(LIBNAME)
$(CC) $(CFLAGS_EXE) -o $@ src/$@.o $(LDFLAGS_EXE) $(RSYS_LIBS) $(ATRSTM_LIBS) -lm
-test_atrstm_radcoefs_simd: config.mk atrstm-local.pc
+test_atrstm_radcoefs_simd: config.mk atrstm-local.pc $(LIBNAME)
$(CC) $(CFLAGS_EXE) -o $@ src/$@.o $(LDFLAGS_EXE) $(RSYS_LIBS) $(ATRSTM_LIBS) $(RSIMD_LIBS)