2017-06-26 22:08:15 +02:00
|
|
|
GOROOT := $(shell go env GOPATH)
|
|
|
|
|
2017-06-22 22:02:11 +02:00
|
|
|
build:
|
2017-07-10 22:01:21 +02:00
|
|
|
go build ./shared ./cmd/gclang ./cmd/gclang++ ./cmd/get-bc ./cmd/gsanity-check
|
2017-07-05 17:14:11 +02:00
|
|
|
|
|
|
|
|
2017-06-22 22:02:11 +02:00
|
|
|
|
|
|
|
install: build
|
2017-07-10 22:01:21 +02:00
|
|
|
go install ./cmd/gclang ./cmd/gclang++ ./cmd/get-bc ./cmd/gsanity-check
|
2017-06-27 19:09:39 +02:00
|
|
|
|
|
|
|
clean:
|
|
|
|
go clean
|
2017-07-05 17:14:11 +02:00
|
|
|
rm -f gclang gclang++ get-bc
|
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
|