# $Id: Makefile,v 1.2 1993/08/26 20:49:21 mintha Exp $
#
# $Log: Makefile,v $
# Revision 1.2  1993/08/26  20:49:21  mintha
# No change
#
CC = gcc -g
# LD = /usr/ucb/ld 
EXE = cdfsplus
OBJ = cdf2splus.o splus2cdf.o
CODE = cdf2splus.c splus2cdf.c
NETDIR =/opt/local/lib 
SPLUSINC = /opt/splus/include
# LIB = -L$(NETDIR) -lnsl -lm -lnetcdf
INC = -I$(NETDIR) -I$(SPLUSINC)

$(EXE): $(OBJ) 
	$(LD) -r -o $@.o $(OBJ) $(LIB)

$(OBJ): $(CODE)
	$(CC) $(INC) -c $(CODE)






