rsys

Basic data structures and low-level features
git clone git://git.meso-star.fr/rsys.git
Log | Files | Refs | README | LICENSE

commit 802b0213363188139243987b5ccc792ee6b3cdc3
parent d76efa6adc6c1a08577c4040bf5b72117dd79520
Author: vaplv <vaplv@free.fr>
Date:   Wed, 19 Jul 2023 10:12:13 +0200

Update Makefile targets of .d files

Like .o files, they depend on the contents of the config.mk file,
including the value of build flags such as include directories to search
for headers and macro definitions.

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

diff --git a/Makefile b/Makefile @@ -51,7 +51,7 @@ build_library: $(DEP) echo "$(LIBNAME_SHARED)";\ fi) -$(OBJ): config.mk +$(DEP) $(OBJ): config.mk $(LIBNAME_SHARED): $(OBJ) $(CC) $(CFLAGS) -o $@ $(OBJ) $(LDFLAGS) $(SOFLAGS) $(LIBS) @@ -218,7 +218,7 @@ RSYS_LIBS = $(RSYS_LIBS_$(LIB_TYPE)) build_tests: build_library $(TEST_DEP) .test @$(MAKE) -fMakefile -f.test $$(for i in $(TEST_DEP); do echo -f"$${i}"; done) test_bin -$(TEST_OBJ): config.mk +$(TEST_DEP) $(TEST_OBJ): config.mk test: build_tests @$(SHELL) make.sh run_test $(TEST_SRC)