summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2004-10-14 19:02:13 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2004-10-14 19:02:13 +0000
commita9504af51275098d2a1e4aec3f9093247bb45ec7 (patch)
tree760541320c177954a2820c246981ebfe10bdce4d /examples
parent53c8f295868312af305e1bcb4422cc7686c38bc1 (diff)
Use the shared Makefile.JIT for JIT-enablement, which also enables the examples
to have the JIT functioning on more platforms than just x86 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16993 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples')
-rw-r--r--examples/Fibonacci/Makefile7
-rw-r--r--examples/HowToUseJIT/Makefile6
2 files changed, 7 insertions, 6 deletions
diff --git a/examples/Fibonacci/Makefile b/examples/Fibonacci/Makefile
index ac6de5df5f1..2c9a53149c6 100644
--- a/examples/Fibonacci/Makefile
+++ b/examples/Fibonacci/Makefile
@@ -6,10 +6,11 @@
# the University of Illinois Open Source License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
+
LEVEL = ../..
TOOLNAME = Fibonacci
-USEDLIBS = lli-jit lli-interpreter codegen executionengine x86 selectiondag \
- scalaropts analysis.a transformutils.a bcreader target.a vmcore \
- support.a LLVMsystem.a
+
+# Enable JIT support
+include $(LEVEL)/tools/Makefile.JIT
include $(LEVEL)/Makefile.common
diff --git a/examples/HowToUseJIT/Makefile b/examples/HowToUseJIT/Makefile
index 3b3947e6906..3312eb82093 100644
--- a/examples/HowToUseJIT/Makefile
+++ b/examples/HowToUseJIT/Makefile
@@ -8,8 +8,8 @@
##===----------------------------------------------------------------------===##
LEVEL = ../..
TOOLNAME = HowToUseJIT
-USEDLIBS = lli-jit lli-interpreter codegen executionengine x86 selectiondag \
- scalaropts analysis.a transformutils.a bcreader target.a vmcore \
- support.a LLVMsystem.a
+
+# Enable JIT support
+include $(LEVEL)/tools/Makefile.JIT
include $(LEVEL)/Makefile.common