view build-data.sh @ 37:fdbf6e90804d

Adjust to engine changes.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 13 Oct 2012 16:36:40 +0300
parents 4bfeef9f361a
children ea2d19de8932
line wrap: on
line source

#!/bin/sh
CPWD=`pwd`
PACKED="$CPWD/packed.bin"

if test ! -x "$PACKED"; then
	make -f Makefile clean
	make -f Makefile EXEEXT=".bin" BINPATH="$CPWD" "$PACKED"
fi

cd "$CPWD/data" && $PACKED -c -p "$CPWD/exe/orvellys.dat" *