Use the shared Makefile.JIT for JIT-enablement, which also enables the examples
authorMisha Brukman <brukman+llvm@gmail.com>
Thu, 14 Oct 2004 19:02:13 +0000 (19:02 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Thu, 14 Oct 2004 19:02:13 +0000 (19:02 +0000)
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

examples/Fibonacci/Makefile
examples/HowToUseJIT/Makefile

index ac6de5df5f1d9a3b819e2f32d57bcf4e01edef49..2c9a53149c6898833f3991c6c8eb299c492fd8f0 100644 (file)
@@ -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
index 3b3947e690647e2c7f05da3f38eb42127f4e5ccb..3312eb82093549a7f3e7f7ecb2565ab15495aa99 100644 (file)
@@ -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