mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
dbbbccc349
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186854 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
594 B
Makefile
12 lines
594 B
Makefile
all: toy-mcjit toy-jit toy-ir-gen
|
|
|
|
toy-mcjit : toy.cpp
|
|
clang++ toy.cpp -g -O3 -rdynamic -fno-rtti `llvm-config --cppflags --ldflags --libs core mcjit native irreader` -o toy-mcjit
|
|
|
|
toy-jit : toy-jit.cpp
|
|
clang++ toy-jit.cpp -g -O3 -rdynamic -fno-rtti `llvm-config --cppflags --ldflags --libs core jit native irreader` -o toy-jit
|
|
|
|
# This is a special build for the purpose of converting Kaleidoscope input to an IR file
|
|
toy-ir-gen : toy-jit.cpp
|
|
clang++ toy-jit.cpp -g -O3 -rdynamic -fno-rtti -DDUMP_FINAL_MODULE `llvm-config --cppflags --ldflags --libs core jit native irreader` -o toy-ir-gen
|