mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2024-11-30 13:51:58 +00:00
15 lines
506 B
Plaintext
15 lines
506 B
Plaintext
|
#How to build cavestats binary
|
||
|
|
||
|
apt-get source survex
|
||
|
sudo apt-get build-dep survex
|
||
|
pushd
|
||
|
cp cavestats.c survex-*/src
|
||
|
cd survex-*
|
||
|
dpkg-buildpackage
|
||
|
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
|
||
|
mv cavestats ../../
|