minix/lib/ack_build.sh

17 lines
274 B
Bash
Raw Normal View History

#!/bin/sh
export COMPILER_TYPE=ack
export ARCH=i386
if [ "$COMPILER_TYPE" = 'ack' ]; then
export CC=cc
export MAKEOBJDIR=obj-ack
elif [ "$COMPILER_TYPE" = 'gnu' ]; then
export CC=gcc
export AR=gar
export MAKEOBJDIR=obj-gnu
export PATH=$PATH:/usr/gnu/bin
fi
make $@