# Defining TRMALLOC can be used to check for memory leaks # Need to add BStrmalloc.c to SRC in src/makefile BASEOPT = -g -DTRMALLOC # Otherwise use this BASEOPT = -g # Note: To use Fortran implicit typing, remove -u in BASEOPTF definition BASEOPTF = -g -dalign # Include malloc and mallocmap if you have TRMALLOC defined. # To use TRMALLOC, add BStrmalloc.c to the makefile in src... # This approach has only been used on the SUNs SYS_LIB = /usr/lib/debug/malloc.o /usr/lib/debug/mallocmap.o # Otherwise do this SYS_LIB =