You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This rule:
$(BUILD_DIR)/$(GOOS)-$(GOARCH):
mkdir -p $(BUILD_DIR)/$(GOOS)-$(GOARCH)
may make one think that it will create the right directory in cross
builds, but this is misleading, GOOS/GOARCH are set at the very
beginning of the Makefile, and the name of the directory which is
created is fixed at the time the Makefile is parsed (to linux/amd64/ on
a linux machine for example). As "go build" will create the target
directory if needed, we can get rid of this rule.
0 commit comments