gllvm/Makefile

19 lines
350 B
Makefile
Raw Normal View History

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