-##===- projects/HowToUseJIT/Makefile -----------------------*- Makefile -*-===##
+##===- examples/HowToUseJIT/Makefile -----------------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
##===----------------------------------------------------------------------===##
LEVEL = ../..
TOOLNAME = HowToUseJIT
-USEDLIBS = lli-jit lli-interpreter codegen executionengine x86 selectiondag \
- scalaropts analysis.a transformutils.a bcreader target.a vmcore \
- support.a
+EXAMPLE_TOOL = 1
+
+# Enable JIT support
+LLVMLIBS := JIT
include $(LEVEL)/Makefile.common