Remove hack. This is better fixed in Makefile.common
[oota-llvm.git] / lib / ExecutionEngine / Makefile
index bc5578c0a2368d2362dc411386e7a6f6c027066a..1e4b4f773d4a38eae14ff63be04b16f336af719a 100644 (file)
@@ -1,7 +1,21 @@
 LEVEL = ../..
 TOOLNAME = lli
-USEDLIBS = opt bcreader bcwriter vmcore asmwriter analysis support target
+USEDLIBS = bcreader bcwriter vmcore asmwriter analysis support \
+          target transforms
 TOOLLINKOPTS = -ldl
 
 include $(LEVEL)/Makefile.common
 
+all :: $(LEVEL)/tools/Debug/RuntimeLib.bc
+
+Debug/RuntimeLib.c: RuntimeLib.lc
+       cp -f $< $@
+
+Debug/RuntimeLib.ll: Debug/RuntimeLib.c
+       @-rm $@
+       /home/vadve/lattner/cvs/gcc_install/bin/gcc $< -S -o $@
+
+$(LEVEL)/tools/Debug/RuntimeLib.bc: Debug/RuntimeLib.ll
+       ../Debug/gccas $< -o $@
+
+