diff --git a/makefile b/makefile index b7e58d2..41be6a8 100644 --- a/makefile +++ b/makefile @@ -1,8 +1,11 @@ VERSION := $(shell git describe --tags) -linux: - GOOS=darwin GOARCH=386 go build -o ./dist/mgphoto-linux -ldflags="-X main.version=${VERSION}" ./*.go +linux32: + GOOS=linux GOARCH=386 go build -o ./dist/mgphoto-linux32 -ldflags="-X main.version=${VERSION}" ./*.go +linux64: + GOOS=linux GOARCH=amd64 go build -o ./dist/mgphoto-linux64 -ldflags="-X main.version=${VERSION}" ./*.go + mac: GOOS=darwin GOARCH=amd64 go build -o ./dist/mgphoto-mac -ldflags="-X main.version=${VERSION}" ./*.go @@ -12,4 +15,4 @@ windows: clean: rm -rf ./dist -all: linux mac windows +all: linux32 linux64 mac windows