gllvm/Makefile
2017-07-10 13:01:21 -07:00

19 lines
358 B
Makefile

GOROOT := $(shell go env GOPATH)
build:
go build ./shared ./cmd/gclang ./cmd/gclang++ ./cmd/get-bc ./cmd/gsanity-check
install: build
go install ./cmd/gclang ./cmd/gclang++ ./cmd/get-bc ./cmd/gsanity-check
clean:
go clean
rm -f gclang gclang++ get-bc
uninstall:
rm -f $(GOROOT)/bin/gclang
rm -f $(GOROOT)/bin/gclang++
rm -f $(GOROOT)/bin/get-bc