summaryrefslogtreecommitdiff
path: root/lib/ExecutionEngine/Makefile
blob: 0fdcf8b5ddb89c4f112b711b6e45aca4ed86e1a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
	@-rm $@
	/home/vadve/lattner/cvs/gcc_install/bin/gcc $< -c -o $@

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