mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-12-03 08:01:25 +08:00
19 lines
442 B
Plaintext
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
|
|
|
|
|