1 ##===- tools/llvm-go/Makefile ------------------------------*- Makefile -*-===## 2 # 3 # The LLVM Compiler Infrastructure 4 # 5 # This file is distributed under the University of Illinois Open Source 6 # License. See LICENSE.TXT for details. 7 # 8 ##===----------------------------------------------------------------------===## 9 10 LEVEL := ../.. 11 include $(LEVEL)/Makefile.common 12 13 all:: $(ToolDir)/llvm-go$(EXEEXT) 14 15 $(ToolDir)/llvm-go$(EXEEXT): $(PROJ_SRC_DIR)/llvm-go.go 16 $(GO) build -o $@ $< 17