1 # Makefile.cygnus for Cygnus-Win32 target
2 # /Stephane Rehel, November 16 1997
4 # Makefile for GLUT 3.7
6 # NOTICE: The OpenGL Utility Toolkit (GLUT) distribution contains source
7 # code published in a book titled "Programming OpenGL for the X Window
8 # System" (ISBN: 0-201-48359-9) published by Addison-Wesley. The
9 # programs and associated files contained in the distribution were
10 # developed by Mark J. Kilgard and are Copyright 1994, 1995, 1996 by Mark
11 # J. Kilgard (unless otherwise noted). The programs are not in the
12 # public domain, but they are freely distributable without licensing
13 # fees. These programs are provided without guarantee or warrantee
14 # expressed or implied.
16 # GLUT source included with Mesa with permission from Mark Kilgard.
73 OBJECTS = $(SOURCES:.c=.o)
80 $(CC) -c -I$(INCDIR) $(CFLAGS) $<
87 @echo "Specify a target configuration"
92 targets: $(LIBDIR)/$(GLUT_LIB)
95 $(LIBDIR)/$(GLUT_LIB): $(OBJECTS)
96 $(MAKELIB) $(GLUT_LIB) $(GLUT_MAJOR) $(GLUT_MINOR) $(GLUT_TINY) $(OBJECTS)
97 mv $(GLUT_LIB)* $(LIBDIR)
99 include ../Make-config
106 # Run 'make dep' to update the dependencies if you change what's included
107 # by any source file.
110 makedepend -fdepend -Y -I../include $(SOURCES)