Blob Blame Raw
#!/bin/bash

set -e

echo "build executables for maemo"

cd ..
BUILD_DIR="maemo"

function build() {
  local TYPE="$1"
  shift
  echo ./build.sh "$@" -config "$BUILD_DIR/config.$TYPE.h" -target "$BUILD_DIR/coolkbd.$TYPE"
       ./build.sh "$@" -config "$BUILD_DIR/config.$TYPE.h" -target "$BUILD_DIR/coolkbd.$TYPE"
}

build dock   "$@"
build bottom "$@"
build top    "$@"