mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-30 15:45:26 +00:00
9def26ab6b
This causes code that is generated by gcc to work better. * Implement mul & div * Export malloc, free, and pow * add strtol, atoi, and atol to the runtime library llvm-svn: 988
22 lines
463 B
Makefile
22 lines
463 B
Makefile
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
|
|
|
|
|