summaryrefslogtreecommitdiff
path: root/lib/ExecutionEngine/Makefile
blob: 3e70896c291cd56116817e92d7bb8c715ec7e86f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
LEVEL = ../..
TOOLNAME = lli
USEDLIBS = opt 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.o: Debug/RuntimeLib.c
	/home/vadve/lattner/cvs/gcc_install/bin/gcc $< -c -o $@

$(LEVEL)/tools/Debug/RuntimeLib.bc: Debug/RuntimeLib.o
	../Debug/opt -dce $< -o $@ -f -q