netcdf-c/Make0
2012-03-31 19:11:33 +00:00

15 lines
382 B
Plaintext

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