Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 14 lines (10 sloc) 0.469 kb
#!/bin/sh
EXTRA_FLAGS="-Wall -pedantic -std=gnu99 -Wextra -Wno-unused-parameter"
export CFLAGS="`llvm-config --cflags` $EXTRA_FLAGS"
MZC_CPP=""
for f in `llvm-config --cppflags` $EXTRA_FLAGS; do
MZC_CPP="${MZC_CPP}++cppf $f "
done
mzc --3m --vv --xform $MZC_CPP llvm-basic.c && \
mzc --3m --vv --cc llvm-basic.3m.c && \
mzc --3m --vv --ld llvm-basic.so llvm-basic_3m.o `llvm-config --ldflags` -lstdc++ `llvm-config --libfiles engine backend bitreader bitwriter`
Jump to Line
Something went wrong with that request. Please try again.