diff --git a/llvm/examples/Fibonacci/Makefile b/llvm/examples/Fibonacci/Makefile index ac6de5df5f1d..2c9a53149c68 100644 --- a/llvm/examples/Fibonacci/Makefile +++ b/llvm/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/llvm/examples/HowToUseJIT/Makefile b/llvm/examples/HowToUseJIT/Makefile index 3b3947e69064..3312eb820935 100644 --- a/llvm/examples/HowToUseJIT/Makefile +++ b/llvm/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