GRAPH = -lsuntool -lsunwindow -lpixrect $(MATHLIB)

DR_LIB = ../lib/driverlib.a

OFILES =  \
	Can_do.o\
	Clr_table.o \
	Color.o\
	Draw_line.o\
	Get_w_box.o\
	Get_w_line.o\
	Get_w_pnt.o\
	Graph_Clse.o\
	Graph_Set.o\
	Panel.o\
	Polygn_abs.o\
	RGB.o \
	Raster.o \
	Reset_clr.o\
	Returns.o\
	SWITCHER.o

$(GISBASE)/driver/SUNVIEW: SUNVIEW
	mv SUNVIEW $@

SUNVIEW: $(OFILES) $(DR_LIB)
	$(CC) $(LDFLAGS) -o $@ $(OFILES) $(DR_LIB) $(GRAPH)

$(DR_LIB): #

Color.o:	graphics.h
Draw_line.o:	graphics.h
Get_w_box.o:	graphics.h
Get_w_line.o:	graphics.h
Get_w_pnt.o:	graphics.h
Graph_Set.o:	graphics.h
Reset_clr.o:	graphics.h
Returns.o:	graphics.h
