mirror of
https://github.com/danog/gllvm.git
synced 2025-01-23 01:01:12 +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
|