Skip to content

Commit

Permalink
Use .WAIT feature (Posix)
Browse files Browse the repository at this point in the history
  • Loading branch information
uweseimet committed Sep 5, 2023
1 parent 659850f commit 7dd0f99
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions cpp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -171,11 +171,9 @@ $(OBJ_GENERATED) : $(SRC_GENERATED) $(OBJDIR)
## between coverage and non-coverage builds.
.DEFAULT_GOAL := all
.PHONY: all docs test coverage lcov
all: $(SRC_GENERATED)
make $(BIN_ALL) docs
all: $(SRC_GENERATED) .WAIT $(BIN_ALL) docs

test: $(SRC_GENERATED)
make $(BINDIR)/$(PISCSI_TEST)
test: $(SRC_GENERATED) .WAIT $(BINDIR)/$(PISCSI_TEST)

coverage: CXXFLAGS += --coverage
coverage: test
Expand Down

0 comments on commit 7dd0f99

Please sign in to comment.