summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-11-18 10:03:46 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-11-18 10:03:46 +0000
commit815cbcf0f1ebf91712dc391708dd93e99efd0732 (patch)
tree7f61c699edb3cc1407326865f3fa1791fa52724c /examples
parentb0ce1a387ce1c86b8b0008518a99d786006d1f32 (diff)
downloadllvm-815cbcf0f1ebf91712dc391708dd93e99efd0732.tar.gz
llvm-815cbcf0f1ebf91712dc391708dd93e99efd0732.tar.bz2
llvm-815cbcf0f1ebf91712dc391708dd93e99efd0732.tar.xz
Fix PR456:\
Tools and libraries will be built into $(BUILD_OBJ_ROOT)/$(BuildMode)/bin and \ $(BUILD_OBJ_ROOT)/$(BuildMode)/lib, respectively. Furthermore, the example \ programs will go in $(BUILD_OBJ_ROOT)/$(BuildMode)/examples to keep them \ separate from the tools and hopefully out of the PATH. Install targets \ have not changed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17953 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples')
-rw-r--r--examples/BFtoLLVM/Makefile1
-rw-r--r--examples/Fibonacci/Makefile1
-rw-r--r--examples/HowToUseJIT/Makefile1
-rw-r--r--examples/ModuleMaker/Makefile1
4 files changed, 4 insertions, 0 deletions
diff --git a/examples/BFtoLLVM/Makefile b/examples/BFtoLLVM/Makefile
index e3074cc683..0b4c429a39 100644
--- a/examples/BFtoLLVM/Makefile
+++ b/examples/BFtoLLVM/Makefile
@@ -9,4 +9,5 @@
LEVEL = ../..
TOOLNAME = BFtoLLVM
+EXAMPLE_TOOL = 1
include $(LEVEL)/Makefile.common
diff --git a/examples/Fibonacci/Makefile b/examples/Fibonacci/Makefile
index 2c9a53149c..a6d378591f 100644
--- a/examples/Fibonacci/Makefile
+++ b/examples/Fibonacci/Makefile
@@ -9,6 +9,7 @@
LEVEL = ../..
TOOLNAME = Fibonacci
+EXAMPLE_TOOL = 1
# Enable JIT support
include $(LEVEL)/tools/Makefile.JIT
diff --git a/examples/HowToUseJIT/Makefile b/examples/HowToUseJIT/Makefile
index 3312eb8209..0f5e26b5ca 100644
--- a/examples/HowToUseJIT/Makefile
+++ b/examples/HowToUseJIT/Makefile
@@ -8,6 +8,7 @@
##===----------------------------------------------------------------------===##
LEVEL = ../..
TOOLNAME = HowToUseJIT
+EXAMPLE_TOOL = 1
# Enable JIT support
include $(LEVEL)/tools/Makefile.JIT
diff --git a/examples/ModuleMaker/Makefile b/examples/ModuleMaker/Makefile
index 2bd8a38b7e..91635d48f9 100644
--- a/examples/ModuleMaker/Makefile
+++ b/examples/ModuleMaker/Makefile
@@ -8,6 +8,7 @@
##===----------------------------------------------------------------------===##
LEVEL=../..
TOOLNAME=ModuleMaker
+EXAMPLE_TOOL = 1
USEDLIBS= LLVMBCWriter LLVMCore LLVMSupport.a LLVMSystem.a
include $(LEVEL)/Makefile.common