netcdf-c/Make0
Dennis Heimbigner 4070bcf946 Fix (again) jira NCF-248.
So, it turns out that just freeing
the nc4_info is not enough;
The root group must also be reclaimed.
So, it appears the best approach
is to invoke an abort on the
failed file.
2013-04-24 22:11:44 +00:00

19 lines
438 B
Plaintext

# Test c output
T=leak
VG=valgrind --leak-check=full
CFLAGS=-g -O0 -I. -I./include
CFLAGS=-g -O0 -I../include -I/share/ed/local/spock/include
LDFLAGS=./liblib/.libs/libnetcdf.a -L/share/ed/local/spock/lib -lhdf5_hl -lhdf5 -lz -lcurl -lm -llber -lldap -lrt -lssl -lcrypto -ldl
LFLAG=-L/usr/local/lib
RPATH=-Wl,-rpath,${LFLAG}
all::
gcc ${CFLAGS} -o t ${T}.c ${LDFLAGS}
${VG} ./t
build::
export CFLAGS; export LDFLAGS; ${MAKE} all