1all: toy-mcjit toy-jit toy-ir-gen
2
3toy-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
6toy-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
10toy-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
12