#
#
GTK_LIBS   = -lgtk -lgdk -lglib
GTKGL_LIBS = -L/usr/local/lib -lgtkgl
GL_LIBS    = -lMesaGLU -lMesaGL
X_LIBS     = -L/usr/X11R6/lib -lX11 -lXext -lXi -lXt -lXmu
#
GLAREA = ..
#
CCOMP = c++ -c -I/usr/lib/glib/include
#
tst_line: tst_line.o
	c++ -o tst_line tst_line.o \
	$(GLAREA)/gcad_gr_gr.o \
	$(GLAREA)/gcad_utgeo.o  \
	$(GLAREA)/gcad_ui_gr.o \
	$(GLAREA)/gtk_aux.o \
	$(GTK_LIBS) $(GTKGL_LIBS) $(GL_LIBS) $(X_LIBS) -lm
#
tst_line.o : tst_line.C
	$(CCOMP) tst_line.C
#
clean:
	rm -f tst_line tst_line.o
#
