star-3dut

Generate meshes of simple geometric shapes
git clone git://git.meso-star.fr/star-3dut.git
Log | Files | Refs | README | LICENSE

commit 4fd04d20b39f99bdaa8726e421f25fcca19e3717
parent 0edd5ee83514795e05d2259cc9cd713784be500e
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Wed, 19 Jul 2023 14:45:32 +0200

Update command to generate test .d files

The .d files of the tests no longer use the inference rule defined for
the library and now rely on its own targets with its own compilation
flags used for its compilation. If in practice this does not change
anything, it is more rigorous.

Diffstat:
MMakefile | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -142,9 +142,11 @@ test: build_tests clean_test: @$(SHELL) make.sh clean_test $(TEST_SRC) -$(TEST_DEP) $(TEST_OBJ): config.mk +$(TEST_DEP): config.mk s3dut-local.pc + @$(CC) $(CFLAGS) $(RSYS_CFLAGS) $(S3DUT_CFLAGS) \ + -MM -MT "$(@:.d=.o) $@" $(@:.d=.c) -MF $@ -$(TEST_OBJ): s3dut-local.pc +$(TEST_OBJ): config.mk s3dut-local.pc $(CC) $(CFLAGS) $(RSYS_CFLAGS) $(S3DUT_CFLAGS) -c $(@:.o=.c) -o $@ test_s3dut_cuboid \