mirror of
https://github.com/danog/gllvm.git
synced 2024-11-26 20:44:44 +01:00
21 lines
293 B
Makefile
21 lines
293 B
Makefile
GOROOT := $(shell go env GOPATH)
|
|
|
|
build:
|
|
go build ./cmd/...
|
|
|
|
|
|
install: build
|
|
go install ./cmd/...
|
|
|
|
clean:
|
|
go clean
|
|
|
|
fmt:
|
|
gofmt -s -w shared/*.go cmd/*/*.go
|
|
|
|
uninstall:
|
|
rm -f $(GOROOT)/bin/gclang
|
|
rm -f $(GOROOT)/bin/gclang++
|
|
rm -f $(GOROOT)/bin/get-bc
|
|
rm -f $(GOROOT)/bin/gsanity-check
|