Skip to content

Commit

Permalink
Prefixing the executable with arch and OS values
Browse files Browse the repository at this point in the history
  • Loading branch information
KalyanAkella committed Mar 2, 2020
1 parent c5586ce commit 1d8d23b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ build:
@echo " CGO_LDFLAGS = $(CGO_LDFLAGS)"
@echo " BUILD_TAGS = $(BUILD_TAGS)"
@echo " VERSION = $(VERSION)"
@for target_pkg in $(TARGET_PACKAGES); do echo $$target_pkg; $(GO) build -tags="$(BUILD_TAGS)" $(LDFLAGS) -o ./bin/`basename $$target_pkg`$(BIN_EXT) $$target_pkg || exit 1; done
@for target_pkg in $(TARGET_PACKAGES); do echo $$target_pkg; $(GO) build -tags="$(BUILD_TAGS)" $(LDFLAGS) -o ./bin/`basename $$target_pkg`-$(GOOS)-$(GOARCH)$(BIN_EXT) $$target_pkg || exit 1; done

.PHONY: install
install:
Expand Down

0 comments on commit 1d8d23b

Please sign in to comment.