Mercurial > hg > demos > krapula
comparison 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 |
comparison
equal
deleted
inserted
replaced
10:db2e214a30eb | 11:a712382dcf6a |
---|---|
1 #!/bin/sh | 1 #!/bin/sh |
2 CPWD=`pwd` | 2 CPWD=`pwd` |
3 PACKED="$CPWD/exe/packed" | 3 PACKED="$CPWD/packed.bin" |
4 | |
4 if test ! -x "$PACKED"; then | 5 if test ! -x "$PACKED"; then |
5 PACKED="${PACKED}.bin" | 6 make -f Makefile clean |
7 make -f Makefile EXEEXT=".bin" BINPATH="$CPWD" "$PACKED" | |
6 fi | 8 fi |
7 | 9 |
8 cd "$CPWD/data" && $PACKED -c -f 0xf -p "$CPWD/exe/orvellys.dat" * | 10 cd "$CPWD/data" && $PACKED -c -p "$CPWD/exe/orvellys.dat" * |