#! /bin/sh

# just helping for cross compilation.

MACHINE=sh3
MACHINE_ARCH=sh3
# just in case you forgot to specify this when you built gcc...
CFLAGS="-D__NetBSD__ -v"
export MACHINE MACHINE_ARCH CFLAGS
TARGET=sh-hitachi-coff

make AR=$TARGET-ar AS=$TARGET-as CC=$TARGET-gcc LD=$TARGET-ld NM=$TARGET-nm \
	RANLIB=$TARGET-ranlib SIZE=$TARGET-size STRIP=$TARGET-strip \
	CPP=$TARGET-cpp CXX=$TARGET-c++ $*
