1 # $Id: Makefile.X11,v 1.2 1999/09/15 15:11:24 brianp Exp $
5 # NOTICE: The OpenGL Utility Toolkit (GLUT) distribution contains source
6 # code published in a book titled "Programming OpenGL for the X Window
7 # System" (ISBN: 0-201-48359-9) published by Addison-Wesley. The
8 # programs and associated files contained in the distribution were
9 # developed by Mark J. Kilgard and are Copyright 1994, 1995, 1996 by Mark
10 # J. Kilgard (unless otherwise noted). The programs are not in the
11 # public domain, but they are freely distributable without licensing
12 # fees. These programs are provided without guarantee or warrantee
13 # expressed or implied.
15 # GLUT source included with Mesa with permission from Mark Kilgard.
18 # $Log: Makefile.X11,v $
19 # Revision 1.2 1999/09/15 15:11:24 brianp
20 # added third, tiny version number to mklib scripts
22 # Revision 1.1 1999/08/19 14:00:01 brianp
23 # initial check-in (post crash)
88 OBJECTS = $(SOURCES:.c=.o)
95 $(CC) -c -I$(INCDIR) $(CFLAGS) $<
102 @echo "Specify a target configuration"
107 targets: $(LIBDIR)/$(GLUT_LIB)
110 $(LIBDIR)/$(GLUT_LIB): $(OBJECTS)
111 $(MAKELIB) $(GLUT_LIB) $(GLUT_MAJOR) $(GLUT_MINOR) $(GLUT_TINY) $(OBJECTS)
112 mv $(GLUT_LIB)* $(LIBDIR)
114 include ../Make-config
121 # Run 'make dep' to update the dependencies if you change what's included
122 # by any source file.
125 makedepend -fdepend -Y -I../include $(SOURCES)