40cf503149
Added "mkdir _check_builds" if it does not exist
24 lines
352 B
Text
24 lines
352 B
Text
|
|
checkdir=_check_builds
|
|
|
|
shopt -s nullglob
|
|
|
|
# script de test
|
|
|
|
COMPILER_DIR="../compiler"
|
|
if [ -x $COMPILER_DIR/heptc.native ];
|
|
then
|
|
COMPILER=heptc.native
|
|
else
|
|
COMPILER=heptc.byte
|
|
fi
|
|
|
|
HEPTC="../$COMPILER_DIR/$COMPILER -stdlib ../../lib"
|
|
CC="gcc -std=c99 -I ../../../lib/c"
|
|
LD="gcc"
|
|
NBSTEP=100
|
|
|
|
if [ ! -x $checkdir ];
|
|
then
|
|
mkdir $checkdir
|
|
fi
|