Adding example source to support MCJIT/Kaleidoscope blog posts.
[oota-llvm.git] / examples / Kaleidoscope / MCJIT / cached / Makefile
1 all: toy-mcjit toy-jit toy-ir-gen
2
3 toy-mcjit : toy.cpp
4         clang++ toy.cpp -g -O3 -rdynamic -fno-rtti `llvm-config --cppflags --ldflags --libs core mcjit native irreader` -o toy-mcjit
5
6 toy-jit : toy-jit.cpp
7         clang++ toy-jit.cpp -g -O3 -rdynamic -fno-rtti `llvm-config --cppflags --ldflags --libs core jit native irreader` -o toy-jit
8
9 # This is a special build for the purpose of converting Kaleidoscope input to an IR file
10 toy-ir-gen : toy-jit.cpp
11         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