14 lines
344 B
Makefile
14 lines
344 B
Makefile
all: bin/ecload bin/ecload.exe bin/ecload-mac
|
|
|
|
clean:
|
|
rm -r bin/
|
|
|
|
bin/ecload:
|
|
GOOS=linux GOARCH=amd64 go build -v -ldflags '-s' -o $@ cmd/ecload/main.go
|
|
|
|
bin/ecload.exe:
|
|
GOOS=windows GOARCH=amd64 go build -ldflags '-s' -v -o $@ cmd/ecload/main.go
|
|
|
|
bin/ecload-mac:
|
|
GOOS=darwin GOARCH=amd64 go build -ldflags '-s' -v -o $@ cmd/ecload/main.go
|