ecload/Makefile

14 lines
344 B
Makefile
Raw Normal View History

2019-05-27 15:11:33 +00:00
all: bin/ecload bin/ecload.exe bin/ecload-mac
clean:
rm -r bin/
2019-05-27 15:11:33 +00:00
bin/ecload:
2019-05-27 15:13:04 +00:00
GOOS=linux GOARCH=amd64 go build -v -ldflags '-s' -o $@ cmd/ecload/main.go
2019-05-27 15:11:33 +00:00
bin/ecload.exe:
2019-05-27 15:13:04 +00:00
GOOS=windows GOARCH=amd64 go build -ldflags '-s' -v -o $@ cmd/ecload/main.go
2019-05-27 15:11:33 +00:00
bin/ecload-mac:
2019-05-27 15:13:04 +00:00
GOOS=darwin GOARCH=amd64 go build -ldflags '-s' -v -o $@ cmd/ecload/main.go