gllvm/Makefile

22 lines
323 B
Makefile

GOROOT := $(shell go env GOPATH)
build:
go build ./cmd/...
install: build
go install ./cmd/...
clean:
go clean
rm -f gclang gclang++ get-bc
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