view pakkaa.sh @ 11:a712382dcf6a

Improve data blob building.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 29 Sep 2012 06:45:54 +0300
parents 686cfe0b7ee4
children
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" *