~ chicken-core (chicken-5) 4672e11629caae4657924e1732516518afa53fdf
commit 4672e11629caae4657924e1732516518afa53fdf Author: Mario Domenech Goulart <mario@parenteses.org> AuthorDate: Fri Sep 13 21:58:20 2024 +0200 Commit: felix <felix@call-with-current-continuation.org> CommitDate: Tue Sep 17 16:23:50 2024 +0200 rules.make: Fix floating dependencies Explicitly specify dependencies, so that builds work when `make -jN install' (where N>1) is called without a previous call of `make all'. Signed-off-by: felix <felix@call-with-current-continuation.org> diff --git a/rules.make b/rules.make index 24ad7e2c..2e3abd3d 100644 --- a/rules.make +++ b/rules.make @@ -271,7 +271,7 @@ install: $(TARGETS) install-target install-bin install-libs install-dev install- install-target: install-libs -install-libs: +install-libs: libs $(LIBCHICKEN_IMPORT_LIBRARY) $(MAKEDIR_COMMAND) $(MAKEDIR_COMMAND_OPTIONS) "$(DESTDIR)$(ILIBDIR)" ifneq ($(LIBCHICKEN_IMPORT_LIBRARY),) $(INSTALL_PROGRAM) $(INSTALL_PROGRAM_STATIC_LIBRARY_OPTIONS) $(LIBCHICKEN_IMPORT_LIBRARY) "$(DESTDIR)$(ILIBDIR)" @@ -314,7 +314,7 @@ endif $(INSTALL_PROGRAM) $(INSTALL_PROGRAM_FILE_OPTIONS) $(SRCDIR)types.db "$(DESTDIR)$(IEGGDIR)" ifeq ($(NEEDS_RELINKING),yes) -install-bin: +install-bin: $(TARGETS) install-libs install-dev $(foreach prog,$(INSTALLED_PROGRAMS),\ $(REMOVE_COMMAND) $(REMOVE_COMMAND_OPTIONS) $(prog)$(EXE) $(NL))Trap