Skip to content

Commit 4ab2dea

Browse files
committed
Build both 32 and 64 bit Windows binaries
1 parent db11df2 commit 4ab2dea

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ $(BUILDLOC)/linux/$(GIN): $(SOURCES)
5454
GOOS=linux GOARCH=amd64 go build -o $(BUILDLOC)/linux/$(GIN) $(LDFLAGS)
5555

5656
$(BUILDLOC)/windows/$(GIN).exe: $(SOURCES)
57-
GOOS=windows GOARCH=386 go build -o $(BUILDLOC)/windows/$(GIN).exe $(LDFLAGS)
57+
GOOS=windows GOARCH=386 go build -o $(BUILDLOC)/windows32/$(GIN).exe $(LDFLAGS)
58+
GOOS=windows GOARCH=amd64 go build -o $(BUILDLOC)/windows64/$(GIN).exe $(LDFLAGS)
5859

5960
$(BUILDLOC)/darwin/$(GIN): $(SOURCES)
6061
GOOS=darwin GOARCH=amd64 go build -o $(BUILDLOC)/darwin/$(GIN) $(LDFLAGS)

0 commit comments

Comments
 (0)