Mercurial > hg > demos > krapula
view build-data.sh @ 57:51110f424dfd
Use JSSMOD instead of XM.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 04 Mar 2015 04:42:09 +0200 |
parents | 9cbb03e85597 |
children | 554e3f02ba6f |
line wrap: on
line source
#!/bin/sh . ./build.cfg CPWD=`pwd` CPACKED="$CPWD/packed.bin" if test ! -x "$CPACKED"; then make -f Makefile clean make -f Makefile EXEEXT=".bin" BINPATH="$CPWD/" "$CPACKED" fi cd "$CPWD/data" && $CPACKED -c -p "$CPWD/exe/$CPACKFILE" * if test ! -e "$CPWD/$CPACKFILE"; then ln -s "$CPWD/exe/$CPACKFILE" "$CPWD/$CPACKFILE" fi