2017-06-26 22:08:15 +02:00
|
|
|
GOROOT := $(shell go env GOPATH)
|
|
|
|
|
2017-06-22 22:02:11 +02:00
|
|
|
build:
|
2017-07-13 00:49:39 +02:00
|
|
|
go build ./cmd/...
|
2017-07-05 17:14:11 +02:00
|
|
|
|
2017-06-22 22:02:11 +02:00
|
|
|
|
|
|
|
install: build
|
2017-07-13 00:49:39 +02:00
|
|
|
go install ./cmd/...
|
2017-06-27 19:09:39 +02:00
|
|
|
|
|
|
|
clean:
|
|
|
|
go clean
|
2017-06-28 23:03:36 +02:00
|
|
|
|
2017-07-13 17:57:15 +02:00
|
|
|
fmt:
|
|
|
|
gofmt -s -w shared/*.go cmd/*/*.go
|
|
|
|
|
2017-06-28 23:03:36 +02:00
|
|
|
uninstall:
|
2017-06-27 19:11:19 +02:00
|
|
|
rm -f $(GOROOT)/bin/gclang
|
|
|
|
rm -f $(GOROOT)/bin/gclang++
|
|
|
|
rm -f $(GOROOT)/bin/get-bc
|
2017-07-11 22:01:46 +02:00
|
|
|
rm -f $(GOROOT)/bin/gsanity-check
|