netcdf-c/nc_test/Make0

16 lines
364 B
Plaintext

# Test c output
T=tst_diskless3
#VG=valgrind --leak-check=full
CFLAGS=-g -O0 -I.. -I../include
LDFLAGS=../liblib/.libs/libnetcdf.a -L/share/ed/local/spock/lib -lhdf5_hl -lhdf5 -lz -lm -lcurl
LD_RUN_PATH=/share/ed/local/spock/lib
# cd .. ; ${MAKE} all
all::
export LD_RUN_PATH; export CFLAGS; export LDFLAGS; \
gcc -o t ${CFLAGS} ${T}.c ${LDFLAGS}
${VG} ./t