#! /bin/csh
cd ../../
if (! -d ./dist-bin) then
 	echo "Moving bin to dist-bin"; mv bin dist-bin; mkdir bin;
endif
if (! -d ./dist-lib) then
	echo "Moving lib to dist-lib"; mv lib dist-lib; mkdir lib;
endif
cd dist-lib
setenv LD_LIBRARY_PATH `pwd`
cd ../src/build
../../dist-bin/wcl -m 12000 < compile-cl-script.lisp
