summaryrefslogtreecommitdiff
path: root/com/allegro/build-xlib
blob: a805308f72cb93ef9779118949a27d64dec4cd6f (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/csh
#
# build-xlib -- recompile the xlib stuff
#
# note that allegro's loader will look in its lib directory automagically
# for the clx library
cd $Y2
setenv LIBRARYBIN $Y2/progs/lib/X11/$ALLEGRODIR
rm $LIBRARYBIN/xlib*.sbin
bin/allegro-haskell <<EOF
:(lisp:load "clx")
:(setf *code-quality* 3)
:compile \$HASKELL_LIBRARY/X11/xlib
EOF