16 lines
274 B
Bash
Executable file
16 lines
274 B
Bash
Executable file
#!/bin/sh
|
|
|
|
export COMPILER_TYPE=gnu
|
|
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 $@
|