Makefile: avoid race condition if building in parallel.

master
Drake 2 years ago
parent 35e0d2c66e
commit 29754c7563

@ -9,9 +9,10 @@ EXCLUDE_PROGS ?= rm
DESTDIR ?= /
.PHONY: all debug clean build-release install
all: $(shell mkdir -p bin)
all: ${PROGS}
all: dbox
all:
@$(shell mkdir -p bin)
@$(MAKE) -s ${PROGS}
@$(MAKE) -s dbox
${PROGS}:
@echo Building $@..

Loading…
Cancel
Save