2011-02-03 03:16:23 +00:00
|
|
|
#How to build cavestats binary
|
|
|
|
|
|
|
|
apt-get source survex
|
|
|
|
sudo apt-get build-dep survex
|
2013-07-21 22:37:30 +01:00
|
|
|
pushd survex-*
|
2011-02-03 03:16:23 +00:00
|
|
|
dpkg-buildpackage
|
2013-06-11 03:57:17 +01:00
|
|
|
cp cavestats.c survex-*/src
|
2011-02-03 03:16:23 +00:00
|
|
|
cd src
|
|
|
|
gcc -DHAVE_CONFIG_H -I. -I.. -DIMG_HOSTED -Wall -W -Wunused -Wshadow
|
|
|
|
-Wpointer-arith -Wmissing-prototypes -Wwrite-strings
|
|
|
|
-Wredundant-decls -Wnested-externs -Wcast-align -g -O2 -O2 -MT
|
|
|
|
3dtopos.o -MD -MP namecmp.o img.o useful.o cmdline.o message.o
|
|
|
|
filename.o osdepend.o z_getopt.o getopt1.o -o cavestats cavestats.c -lm
|
2013-07-21 22:37:30 +01:00
|
|
|
mv cavestats ../../
|