mirror of
https://github.com/danog/gllvm.git
synced 2024-11-30 04:48:58 +01:00
19 lines
350 B
Makefile
19 lines
350 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
|
|
|
|
uninstall:
|
|
rm -f $(GOROOT)/bin/gclang
|
|
rm -f $(GOROOT)/bin/gclang++
|
|
rm -f $(GOROOT)/bin/get-bc
|