Skip to content

Commit

Permalink
[YUNIKORN-2053] Core: Fix dependency in Makefile (apache#677)
Browse files Browse the repository at this point in the history
Corrected the dependency list for make targets.

Closes: apache#677

Signed-off-by: Craig Condit <[email protected]>
  • Loading branch information
Albin George authored and craigcondit committed Oct 19, 2023
1 parent ba3b362 commit 46ad05a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -179,17 +179,17 @@ pseudo:
.PHONY: commands
commands: build/simplescheduler build/schedulerclient build/queueconfigchecker

build/simplescheduler: go.mod go.sum cmd
build/simplescheduler: go.mod go.sum $(shell find cmd pkg)
@echo "building example scheduler"
@mkdir -p build
"$(GO)" build $(RACE) -a -ldflags '-extldflags "-static"' -o build/simplescheduler ./cmd/simplescheduler

build/schedulerclient:
build/schedulerclient: go.mod go.sum $(shell find cmd pkg)
@echo "building example client"
@mkdir -p build
"$(GO)" build $(RACE) -a -ldflags '-extldflags "-static"' -o build/schedulerclient ./cmd/schedulerclient

build/queueconfigchecker:
build/queueconfigchecker: go.mod go.sum $(shell find cmd pkg)
@echo "building queueconfigchecker"
@mkdir -p build
"$(GO)" build $(RACE) -a -ldflags '-extldflags "-static"' -o build/queueconfigchecker ./cmd/queueconfigchecker
Expand Down

0 comments on commit 46ad05a

Please sign in to comment.