Skip to content
This repository was archived by the owner on May 28, 2021. It is now read-only.

Commit b94a559

Browse files
committed
Makefile tweaks
1 parent 7fd759f commit b94a559

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

Makefile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,13 @@ UNAME_S := $(shell uname -s)
3434

3535
ifeq ($(UNAME_S),Darwin)
3636
# Cross-compiling from OSX to linux, go install puts the binaries in $GOPATH/bin/$GOOS_$GOARCH
37-
BINARIES := $(addprefix $(GOPATH)/bin/$(OS)_$(ARCH)/,$(COMMANDS))
38-
else
39-
ifeq ($(UNAME_S),Linux)
37+
BINARIES := $(addprefix $(GOPATH)/bin/$(OS)_$(ARCH)/,$(COMMANDS))
38+
else ifeq ($(UNAME_S),Linux)
4039
# Compiling on linux for linux, go install puts the binaries in $GOPATH/bin
41-
BINARIES := $(addprefix $(GOPATH)/bin/,$(COMMANDS))
40+
BINARIES := $(addprefix $(GOPATH)/bin/,$(COMMANDS))
4241
else
4342
$(error "Unsupported OS: $(UNAME_S)")
4443
endif
45-
endif
4644

4745
.PHONY: all
4846
all: build

0 commit comments

Comments
 (0)