netcdf-c/Make0

19 lines
438 B
Plaintext
Raw Normal View History

# Test c output
T=leak
VG=valgrind --leak-check=full
CFLAGS=-g -O0 -I. -I./include
2013-03-13 04:45:58 +08:00
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::
2013-03-13 04:45:58 +08:00
gcc ${CFLAGS} -o t ${T}.c ${LDFLAGS}
${VG} ./t
2013-03-13 04:45:58 +08:00
build::
export CFLAGS; export LDFLAGS; ${MAKE} all