Adding example source to support MCJIT/Kaleidoscope blog posts.
[oota-llvm.git] / examples / Kaleidoscope / MCJIT / initial / Makefile
diff --git a/examples/Kaleidoscope/MCJIT/initial/Makefile b/examples/Kaleidoscope/MCJIT/initial/Makefile
new file mode 100644 (file)
index 0000000..2989832
--- /dev/null
@@ -0,0 +1,4 @@
+all: toy-mcjit
+
+toy-mcjit : toy.cpp
+       clang++ toy.cpp -g -O3 -rdynamic -fno-rtti `llvm-config --cppflags --ldflags --libs core mcjit native` -o toy-mcjit