exporter-go-mystrom/Makefile

13 lines
356 B
Makefile
Raw Normal View History

2021-11-12 12:03:22 +01:00
.PHONY: clean run
2021-03-18 15:33:22 +01:00
linux:
2021-11-12 12:03:22 +01:00
GOOS=linux GOARCH=amd64 go build -o output/mystrom-exporter_linux-amd64
2021-03-18 15:33:22 +01:00
mac:
2021-11-12 12:03:22 +01:00
GOOS=darwin GOARCH=amd64 go build -o output/mystrom-exporter_mac-amd64
arm64:
GOOS=linux GOARCH=arm64 go build -o output/mystrom-exporter_linux-arm64
arm:
GOOS=linux GOARCH=arm go build -o output/mystrom-exporter_linux-arm
all: linux mac arm64 arm