mirror of
https://github.com/danog/gllvm.git
synced 2024-11-26 19:34:49 +01:00
20 lines
393 B
Makefile
20 lines
393 B
Makefile
GOROOT := $(shell go env GOPATH)
|
|
|
|
build:
|
|
go build ./shared ./cmd/gclang ./cmd/gclang++ ./cmd/get-bc ./cmd/gsanity-check
|
|
|
|
|
|
|
|
install: build
|
|
go install ./cmd/gclang ./cmd/gclang++ ./cmd/get-bc ./cmd/gsanity-check
|
|
|
|
clean:
|
|
go clean
|
|
rm -f gclang gclang++ get-bc
|
|
|
|
uninstall:
|
|
rm -f $(GOROOT)/bin/gclang
|
|
rm -f $(GOROOT)/bin/gclang++
|
|
rm -f $(GOROOT)/bin/get-bc
|
|
rm -f $(GOROOT)/bin/gsanity-check
|