gllvm/Makefile
2017-06-27 10:11:19 -07:00

17 lines
338 B
Makefile

GOROOT := $(shell go env GOPATH)
build:
go build
install: build
go install
ln -f -s $(GOROOT)/bin/gllvm $(GOROOT)/bin/gclang
ln -f -s $(GOROOT)/bin/gllvm $(GOROOT)/bin/gclang++
ln -f -s $(GOROOT)/bin/gllvm $(GOROOT)/bin/get-bc
clean:
go clean
rm -f $(GOROOT)/bin/gclang
rm -f $(GOROOT)/bin/gclang++
rm -f $(GOROOT)/bin/get-bc