Made malloc debug compilation dependent on MALLOC_DEBUG variable.

This commit is contained in:
falgout 1997-09-16 14:22:31 +00:00
parent 24d653434b
commit 684c159916
4 changed files with 24 additions and 4 deletions

View File

@ -13,7 +13,12 @@
AMG_CC="gcc"
AMG_CC_FLAGS="-DSOLARIS -I/home/casc/include"
AMG_CC_DEBUG="-g -DAMG_MALLOC_DEBUG"
if [ -z "$MALLOC_DEBUG" ]
then
AMG_CC_DEBUG="-g"
else
AMG_CC_DEBUG="-g -DAMG_MALLOC_DEBUG"
fi
AMG_F77="/home/casc/g77/bin/g77"
AMG_F77_FLAGS=""

View File

@ -13,7 +13,12 @@
AMG_CC="gcc"
AMG_CC_FLAGS="-I$AMG_DIR/include -I/usr/local/include -I/home/casc/include"
AMG_CC_DEBUG="-g -DAMG_MALLOC_DEBUG"
if [ -z "$MALLOC_DEBUG" ]
then
AMG_CC_DEBUG="-g"
else
AMG_CC_DEBUG="-g -DAMG_MALLOC_DEBUG"
fi
AMG_F77="/home/casc/g77/bin/g77"
AMG_F77_FLAGS=""

View File

@ -13,7 +13,12 @@
AMG_CC="gcc"
AMG_CC_FLAGS="-DSOLARIS -I/home/casc/include"
AMG_CC_DEBUG="-g -DAMG_MALLOC_DEBUG"
if [ -z "$MALLOC_DEBUG" ]
then
AMG_CC_DEBUG="-g"
else
AMG_CC_DEBUG="-g -DAMG_MALLOC_DEBUG"
fi
AMG_F77="/home/casc/g77/bin/g77"
AMG_F77_FLAGS=""

View File

@ -13,7 +13,12 @@
AMG_CC="gcc"
AMG_CC_FLAGS="-I$AMG_DIR/include -I/usr/local/include -I/home/casc/include"
AMG_CC_DEBUG="-g -DAMG_MALLOC_DEBUG"
if [ -z "$MALLOC_DEBUG" ]
then
AMG_CC_DEBUG="-g"
else
AMG_CC_DEBUG="-g -DAMG_MALLOC_DEBUG"
fi
AMG_F77="/home/casc/g77/bin/g77"
AMG_F77_FLAGS=""