mirror of
https://github.com/danog/gllvm.git
synced 2024-11-30 04:09:02 +01:00
17 lines
338 B
Makefile
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
|