Fix race condition
This commit is contained in:
parent
2f88ef3ed6
commit
f5a2c0b182
1 changed files with 4 additions and 2 deletions
|
|
@ -84,6 +84,8 @@ checkinstall:
|
||||||
echo "\e[31mclixon must be installed first to build this target. "\
|
echo "\e[31mclixon must be installed first to build this target. "\
|
||||||
"Run 'make'. Then run 'make install' as root.\e[0m"; exit 1; fi;
|
"Run 'make'. Then run 'make install' as root.\e[0m"; exit 1; fi;
|
||||||
|
|
||||||
|
util: apps
|
||||||
|
|
||||||
# May cause circular include->include,lib
|
# May cause circular include->include,lib
|
||||||
$(SUBDIRS2): $(SUBDIRS1) # Cannot build app before lib (for parallel make -j)
|
$(SUBDIRS2): $(SUBDIRS1) # Cannot build app before lib (for parallel make -j)
|
||||||
(cd $@ && $(MAKE) $(MFLAGS) all)
|
(cd $@ && $(MAKE) $(MFLAGS) all)
|
||||||
|
|
@ -119,7 +121,7 @@ util:
|
||||||
clean-util:
|
clean-util:
|
||||||
cd util; $(MAKE) $(MFLAGS) clean
|
cd util; $(MAKE) $(MFLAGS) clean
|
||||||
|
|
||||||
install-util:
|
install-util: checkroot install-include
|
||||||
cd util; $(MAKE) $(MFLAGS) install
|
cd util; $(MAKE) $(MFLAGS) install
|
||||||
|
|
||||||
uninstall-util:
|
uninstall-util:
|
||||||
|
|
@ -171,7 +173,7 @@ test:
|
||||||
|
|
||||||
docker:
|
docker:
|
||||||
for i in docker; \
|
for i in docker; \
|
||||||
do (cd $$i && $(MAKE) $(MFLAGS) $@); done
|
do (cd $$i && $(MAKE) $(MFLAGS)); done
|
||||||
|
|
||||||
# Lines of code
|
# Lines of code
|
||||||
loc:
|
loc:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue