diff --git a/examples/Fibonacci/Makefile b/examples/Fibonacci/Makefile index b63777eb295..5010cb4b978 100644 --- a/examples/Fibonacci/Makefile +++ b/examples/Fibonacci/Makefile @@ -11,7 +11,7 @@ LEVEL = ../.. TOOLNAME = Fibonacci EXAMPLE_TOOL = 1 -# Enable JIT support -LLVMLIBS := JIT +# Link in JIT support +LINK_COMPONENTS := jit interpreter native include $(LEVEL)/Makefile.common diff --git a/examples/HowToUseJIT/Makefile b/examples/HowToUseJIT/Makefile index 67fdd861114..fbacc2d5ca1 100644 --- a/examples/HowToUseJIT/Makefile +++ b/examples/HowToUseJIT/Makefile @@ -10,7 +10,6 @@ LEVEL = ../.. TOOLNAME = HowToUseJIT EXAMPLE_TOOL = 1 -# Enable JIT support -LLVMLIBS := JIT +LINK_COMPONENTS := jit interpreter native include $(LEVEL)/Makefile.common diff --git a/examples/ModuleMaker/Makefile b/examples/ModuleMaker/Makefile index e24e0df49d7..f669bf25930 100644 --- a/examples/ModuleMaker/Makefile +++ b/examples/ModuleMaker/Makefile @@ -9,6 +9,6 @@ LEVEL=../.. TOOLNAME=ModuleMaker EXAMPLE_TOOL = 1 -USEDLIBS= LLVMBCWriter.a LLVMCore.a LLVMSupport.a LLVMbzip2.a LLVMSystem.a +LINK_COMPONENTS := bcwriter include $(LEVEL)/Makefile.common diff --git a/examples/ParallelJIT/Makefile b/examples/ParallelJIT/Makefile index cb014a0082a..f183da246e4 100644 --- a/examples/ParallelJIT/Makefile +++ b/examples/ParallelJIT/Makefile @@ -10,8 +10,7 @@ LEVEL = ../.. TOOLNAME = ParallelJIT EXAMPLE_TOOL = 1 -# Enable JIT support -LLVMLIBS := JIT +LINK_COMPONENTS := jit interpreter native include $(LEVEL)/Makefile.common