IR: Add getRaw() helper, NFC
[oota-llvm.git] / examples / Kaleidoscope / Orc / initial / Makefile
1 UNAME := $(shell uname -s)
2
3 ifeq ($(UNAME),Darwin)
4         CXX := xcrun --sdk macosx clang++
5 else
6         CXX := clang++
7 endif
8
9 LLVM_CXXFLAGS := $(shell llvm-config --cppflags --ldflags --system-libs --libs core orcjit native)
10
11 toy: toy.cpp
12         $(CXX) $(LLVM_CXXFLAGS) -Wall -std=c++14 -g -O0 -rdynamic -fno-rtti -o toy toy.cpp
13
14 .PHONY: clean
15 clean:
16         rm -f toy