#!/bin/sh

export TOOLCHAIN_DIR=${PWD}/../crosstool_arm/gcc-4.1.0-glibc-2.3.2/arm-unknown-linux-gnu/

export SOURCE_DIR=${PWD}
export PATH=$TOOLCHAIN_DIR/bin:$PATH

if [ "$1" == "eclipse" ]; then
  eclipse &
  exit 0
fi

if [ "$1" == "netbeans" ]; then
  netbeans &
  exit 0
fi

make -w $@
