From f5a2c0b182f91c9434e92a72caa763f401cecaff Mon Sep 17 00:00:00 2001 From: Philip Prindeville Date: Mon, 23 Oct 2023 17:00:19 -0600 Subject: [PATCH] Fix race condition --- Makefile.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index f52090e1..4c6000ce 100644 --- a/Makefile.in +++ b/Makefile.in @@ -84,6 +84,8 @@ checkinstall: echo "\e[31mclixon must be installed first to build this target. "\ "Run 'make'. Then run 'make install' as root.\e[0m"; exit 1; fi; +util: apps + # May cause circular include->include,lib $(SUBDIRS2): $(SUBDIRS1) # Cannot build app before lib (for parallel make -j) (cd $@ && $(MAKE) $(MFLAGS) all) @@ -119,7 +121,7 @@ util: clean-util: cd util; $(MAKE) $(MFLAGS) clean -install-util: +install-util: checkroot install-include cd util; $(MAKE) $(MFLAGS) install uninstall-util: @@ -171,7 +173,7 @@ test: docker: for i in docker; \ - do (cd $$i && $(MAKE) $(MFLAGS) $@); done + do (cd $$i && $(MAKE) $(MFLAGS)); done # Lines of code loc: