diff --git a/Makefile b/Makefile index 20650e9..a94069a 100644 --- a/Makefile +++ b/Makefile @@ -31,6 +31,18 @@ build: mod @echo "Building spdx-sbom-generator for Linux Intel/AMD 64-bit version:$(VERSION)" @GO111MODULE=on GOFLAGS=-mod=vendor GOOS=linux go build -ldflags $(ldflags) -o bin/spdx-sbom-generator cmd/generator/generator.go @chmod +x bin/spdx-sbom-generator + +.PHONY: build-ppc64le +build-ppc64le: mod + @echo "Building spdx-sbom-generator for Linux ppc64le version:$(VERSION)" + @GO111MODULE=on GOFLAGS=-mod=vendor GOOS=linux GOARCH=ppc64le go build -ldflags $(ldflags) -o bin/spdx-sbom-generator cmd/generator/generator.go + @chmod +x bin/spdx-sbom-generator + +.PHONY: build-s390x +build-s390x: mod + @echo "Building spdx-sbom-generator for Linux s390x version:$(VERSION)" + @GO111MODULE=on GOFLAGS=-mod=vendor GOOS=linux GOARCH=s390x go build -ldflags $(ldflags) -o bin/spdx-sbom-generator cmd/generator/generator.go + @chmod +x bin/spdx-sbom-generator .PHONY: build-mac build-mac: mod