Add support for building a runtime library for LLI
[oota-llvm.git] / lib / ExecutionEngine / Makefile
1 LEVEL = ../..
2 TOOLNAME = lli
3 USEDLIBS = opt bcreader bcwriter vmcore asmwriter analysis support target
4 TOOLLINKOPTS = -ldl
5
6 include $(LEVEL)/Makefile.common
7
8 all :: $(LEVEL)/tools/Debug/RuntimeLib.bc
9
10 Debug/RuntimeLib.c: RuntimeLib.lc
11         cp -f $< $@
12
13 Debug/RuntimeLib.o: Debug/RuntimeLib.c
14         /home/vadve/lattner/cvs/gcc_install/bin/gcc $< -c -o $@
15
16 $(LEVEL)/tools/Debug/RuntimeLib.bc: Debug/RuntimeLib.o
17         opt -dce $< -o $@ -f -q
18
19