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