Increase items text size by a point
[llpp.git] / build.sh
blob1e53c4985bb5556d39894568600b80f0c46b746c
1 srcpath=$(dirname $0)
3 mupdf=/home/malc/x/rcs/git/mupdf
5 mupdflibpath=$mupdf/build/release
6 mupdfincpath=$mupdf/fitz:$mupdf/pdf
8 cclib="-lmupdf -lfitz -lz -ljpeg -lopenjpeg -ljbig2dec -lfreetype"
9 ccopt="$(freetype-config --cflags) -O -include ft2build.h -D_GNU_SOURCE"
10 export LIBRARY_PATH=$LIBRARY_PATH:$mupdflibpath
11 export CPATH=$CPATH:$mupdfincpath
13 sh mkhelp.sh $srcpath/keystoml.ml $srcpath/KEYS > help.ml
15 ocamlc -c -o link.o -ccopt "$ccopt" $srcpath/link.c
16 ocamlc -c -o help.cmo help.ml
17 ocamlc -c -o parser.cmo $srcpath/parser.ml
18 ocamlc -c -o main.cmo -I +lablGL $srcpath/main.ml
20 ocamlc -custom -o llpp \
21 -I +lablGL \
22 str.cma unix.cma lablgl.cma lablglut.cma \
23 link.o \
24 -cclib "$cclib" \
25 help.cmo \
26 parser.cmo \
27 main.cmo