gllvm/Makefile

17 lines
338 B
Makefile
Raw Normal View History

GOROOT := $(shell go env GOPATH)
build:
go build
install: build
go install
2017-06-27 10:09:39 -07:00
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
2017-06-27 10:11:19 -07:00
rm -f $(GOROOT)/bin/gclang
rm -f $(GOROOT)/bin/gclang++
rm -f $(GOROOT)/bin/get-bc