changeset 11:a712382dcf6a

Improve data blob building.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 29 Sep 2012 06:45:54 +0300
parents db2e214a30eb
children 4bfeef9f361a
files pakkaa.sh
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/pakkaa.sh	Sat Sep 29 06:36:10 2012 +0300
+++ b/pakkaa.sh	Sat Sep 29 06:45:54 2012 +0300
@@ -1,8 +1,10 @@
 #!/bin/sh
 CPWD=`pwd`
-PACKED="$CPWD/exe/packed"
+PACKED="$CPWD/packed.bin"
+
 if test ! -x "$PACKED"; then
-	PACKED="${PACKED}.bin"
+	make -f Makefile clean
+	make -f Makefile EXEEXT=".bin" BINPATH="$CPWD" "$PACKED"
 fi
 
-cd "$CPWD/data" && $PACKED -c -f 0xf -p "$CPWD/exe/orvellys.dat" * 
+cd "$CPWD/data" && $PACKED -c -p "$CPWD/exe/orvellys.dat" *