gllvm/Makefile

21 lines
293 B
Makefile
Raw Normal View History

GOROOT := $(shell go env GOPATH)
build:
go build ./cmd/...
install: build
go install ./cmd/...
2017-06-27 19:09:39 +02:00
clean:
go clean
fmt:
gofmt -s -w shared/*.go cmd/*/*.go
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
rm -f $(GOROOT)/bin/gsanity-check