netcdf-c/Make0
2013-03-12 20:45:58 +00:00

19 lines
442 B
Plaintext

# Test c output
T=test_nc4
#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::
export CFLAGS; export LDFLAGS; \
${MAKE} all ; \
gcc ${CFLAGS} -o t ${T}.c ${LDFLAGS}
${VG} ./t