diff options
Diffstat (limited to 'examples/Kaleidoscope/MCJIT/cached/Makefile')
-rw-r--r-- | examples/Kaleidoscope/MCJIT/cached/Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/Kaleidoscope/MCJIT/cached/Makefile b/examples/Kaleidoscope/MCJIT/cached/Makefile new file mode 100644 index 0000000..dde39a7 --- /dev/null +++ b/examples/Kaleidoscope/MCJIT/cached/Makefile @@ -0,0 +1,11 @@ +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 |