# $Id: Makefile,v 1.5 1998/09/22 00:24:37 taylorj Exp $
# -----------------------------------------------------------------------------
#
#	Copyright (C) 1997 by The GGI Project
#
# -----------------------------------------------------------------------------
#
#	This program is free software; you can redistribute it and/or modify
#	it under the terms of the GNU Library General Public License as 
#	published by the Free Software Foundation; either version 2, or 
#	(at your option) any later version.
#
#	You should have received a copy of the GNU Library General Public 
#	License	along with this program; see the file COPYING.LGPL .  
#	If not, write to the Free Software Foundation, 675 Mass Ave, 
#	Cambridge, MA 02139, USA.
#
# ----------------------------------------------------------------------------

#include $(LIBGGI_TOPLEVEL)/rules/defs

SOURCES= triangle.c visual.c

INCS=-I/usr/include/glide

ifneq ($(OS),OpenBSD)
SHLIBLDLIBS=-L/usr/local/glide/lib -lglide2x
endif

SHLIB=$(DLLDIR)/$(DIR)_3d.$(DLLEXT)
SUBLIB=$(DIR)

include $(LIBGGI_TOPLEVEL)/Makerules
