In Ubuntu 10.04, the following works for me:
make BUILD_OPT=1 -f Makefile.ref
The option, apparently, is intended only for code optimization. Then I manually copy the files in which they should be used by my programs. I really need a bit, so that was easy.
, , , .
.