mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
e43db88b2d
* Implement linked in runtime library with puts(char*) in it * implement builtin putchar(int) function git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@985 91177308-0d34-0410-b5e6-96231b3b80d8
21 lines
454 B
Makefile
21 lines
454 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
|
|
/home/vadve/lattner/cvs/gcc_install/bin/gcc $< -c -o $@
|
|
|
|
$(LEVEL)/tools/Debug/RuntimeLib.bc: Debug/RuntimeLib.o
|
|
../Debug/opt -dce $< -o $@ -f -q
|
|
|
|
|