view build-data.sh @ 25:98dcf1847e75

Cleanups, add the debug mode enabling option.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 02 Oct 2012 18:17:52 +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" *