mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-27 07:30:33 +08:00
15 lines
382 B
Plaintext
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
|
|
|