Build cavestats program for amd64 to suit seagrass server.

Add a build file so it's easier to work out next time
This is all pretty evil and needs a proper package or merging into
survex or something.
Keep i386 binary to hand as it's such a pain to build
This commit is contained in:
wookey 2011-02-03 03:16:23 +00:00
parent df12d1c2ef
commit 9c48968997
3 changed files with 15 additions and 0 deletions

Binary file not shown.

15
noinfo/cavestats.build Normal file
View File

@ -0,0 +1,15 @@
#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 ../../

BIN
noinfo/cavestats_i386 Executable file

Binary file not shown.