1 # $Id: Makefile.X11,v 1.6 1999/10/03 00:53:38 gareth Exp $
3 # Mesa 3-D graphics library
5 # Copyright (C) 1995-1999 Brian Paul
7 # Makefile for GLU library
14 GLU_TINY = 0$(MESA_MAJOR)0$(MESA_MINOR)0$(MESA_TINY)
21 SOURCES = glu.c mipmap.c nurbs.c nurbscrv.c nurbssrf.c nurbsutl.c \
22 project.c quadric.c tess.c tess_fist.c tess_hash.c tess_heap.c \
25 OBJECTS = $(SOURCES:.c=.o)
32 $(CC) -c -I$(INCDIR) $(CFLAGS) $<
39 @echo "Specify a target configuration"
44 targets: $(LIBDIR)/$(GLU_LIB)
47 $(LIBDIR)/$(GLU_LIB): $(OBJECTS)
48 $(MAKELIB) $(GLU_LIB) $(GLU_MAJOR) $(GLU_MINOR) $(GLU_TINY) $(OBJECTS)
49 mv $(GLU_LIB)* $(LIBDIR)
51 include ../Make-config
58 # Run 'make depend' to update the dependencies if you change what's included
62 makedepend -fdepend -Y -I../include $(SOURCES)