mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
c259316730
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@988 91177308-0d34-0410-b5e6-96231b3b80d8
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
|
|
|
|
|