#	@(#)makefile.dbase	1.8  06/17/99
#
#	makefile for dbase directory
#
# Uncomment SWAP to build in byte-order swapping of all data
#SWAP	= -DSWAP_ME
#----------------- stop here - nothing to edit ------------------

include ../makegmt.macros

CDF		= -L$(NETCDF)/lib -lnetcdf
CFLAGS		= $(CC_OPT) $(SWAP) -I.. -I$(NETCDF)/include

all:		grdraster

install:	all
		cp grdraster $(BINDIR)

grdraster:	grdraster.o
		$(CC) $(CFLAGS) grdraster.o -L.. -lgmt -lpsl $(CDF) $(MATH) -o grdraster

clean:	
		rm -f *.o *% grdraster
