17 lines
265 B
Bash
17 lines
265 B
Bash
#!/bin/sh
|
|
|
|
# ensure we use the tools provided in ./bin
|
|
export PATH="$(pwd)/Tools:$PATH"
|
|
|
|
CWD=$(pwd)
|
|
|
|
# gfx lumps (built first)
|
|
build_gfx()
|
|
{
|
|
echo "building gfx/*.lmp"
|
|
|
|
cd "$CWD/$1/gfxsrc/"
|
|
ls | grep -v palette | grep "\.tga" | xargs -n 1 tga2lmp
|
|
}
|
|
|
|
build_gfx $1
|