blob: 084dd8e06eae5f232dadacc21f76f309cdad77eb [file] [log] [blame]
#!/bin/sh
set -e
set -x
if test "x${LLVM_PATH}" == "x"
then
configPath="llvm-config"
else
configPath="${LLVM_PATH}/bin/llvm-config"
fi
clang -c -o ReducedFTL.o ReducedFTL.c `${configPath} --cppflags --cflags`
clang++ -o ReducedFTL ReducedFTL.o -stdlib=libc++ `${configPath} --ldflags --libs` -lcurses