This situation can occur:
[oota-llvm.git] / tools / lli / Makefile
index bf4483f5b4d4445c2fc40c8d61442d241f63ebbe..b070cee27146c4deefc8405bd583047c7ba696bd 100644 (file)
@@ -1,11 +1,15 @@
-LEVEL = ../..
-include $(LEVEL)/Makefile.common
+##===- tools/lli/Makefile ------------------------------*- Makefile -*-===##
+# 
+#                     The LLVM Compiler Infrastructure
+#
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
+# 
+##===----------------------------------------------------------------------===##
 
-all:: lli
-clean::        
-       rm -f lli
+LEVEL    := ../..
+TOOLNAME := lli
+LINK_COMPONENTS := jit interpreter native bitreader selectiondag
 
-lli : $(ObjectsG)
-       $(LinkG) -o $@ $(ObjectsG) \
-               -lopt -lbcreader -lbcwriter \
-               -lvmcore -lasmwriter -lanalysis -lsupport -ltarget
+# Enable JIT support
+include $(LEVEL)/Makefile.common