#*******************************************************************************
# Copyright (c) 2000, 2005 IBM Corporation and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at 
# http://www.eclipse.org/legal/epl-v10.html
# 
# Contributors:
#     IBM Corporation - initial API and implementation
#*******************************************************************************

CC=gcc
LD=gcc

GL_DLL = libgl_3_2_0.so
GL_OBJ = utils.o gl.o glu.o
GL_LIB = -shared -L/usr/X11R6/lib -lGL -lGLU -lm

CFLAGS = -O2 -Wall -I.

all: make_gl

make_gl: $(GL_OBJ)
	$(LD) $(GL_LIB) -o $(GL_DLL) $(GL_OBJ)

clean:
	rm -f *.so *.o
