commit 439650de505f7d97e8ad5762df0429972be25315
parent f0a62522e0485e12a3a42461a9fb845c099da7d8
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Thu, 29 Jun 2023 09:12:16 +0200
Add RSys as test dependency
This seems unnecessary since the AW library already provides CFLAGS and
LIBS options for RSys since it depends on them. But the tests are not
supposed to know this and, strictly speaking, we must explicitly define
their dependencies without relying on the dependencies of the
dependencies which in any case can evolve.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -136,10 +136,10 @@ clean_test:
@$(SHELL) make.sh clean_test $(TEST_SRC)
$(TEST_OBJ): config.mk aw-local.pc
- $(CC) $(CFLAGS) $(AW_CFLAGS) -c $(@:.o=.c) -o $@
+ $(CC) $(CFLAGS) $(AW_CFLAGS) $(RSYS_CFLAGS) -c $(@:.o=.c) -o $@
test_aw \
test_aw_mtl \
test_aw_obj \
: aw-local.pc
- $(CC) -o $@ src/$@.o $(LDFLAGS) $(AW_LIBS)
+ $(CC) -o $@ src/$@.o $(LDFLAGS) $(AW_LIBS) $(RSYS_LIBS)