1c041511dScube# Makefile.cygnus for Cygnus-Win32 target
2c041511dScube# /Stephane Rehel, November 16 1997
3c041511dScube
4c041511dScube# Makefile for GLUT 3.7
5c041511dScube#
6c041511dScube# NOTICE:  The OpenGL Utility Toolkit (GLUT) distribution contains source
7c041511dScube# code published in a book titled "Programming OpenGL for the X Window
8c041511dScube# System" (ISBN: 0-201-48359-9) published by Addison-Wesley.  The
9c041511dScube# programs and associated files contained in the distribution were
10c041511dScube# developed by Mark J. Kilgard and are Copyright 1994, 1995, 1996 by Mark
11c041511dScube# J. Kilgard (unless otherwise noted).  The programs are not in the
12c041511dScube# public domain, but they are freely distributable without licensing
13c041511dScube# fees.  These programs are provided without guarantee or warrantee
14c041511dScube# expressed or implied.
15c041511dScube#
16c041511dScube# GLUT source included with Mesa with permission from Mark Kilgard.
17c041511dScube
18c041511dScube
19c041511dScube##### MACROS #####
20c041511dScube
21c041511dScubeGLUT_MAJOR = 3
22c041511dScubeGLUT_MINOR = 7
23c041511dScubeGLUT_TINY = 0
24c041511dScube
25c041511dScubeVPATH = RCS
26c041511dScube
27c041511dScubeINCDIR = ../include
28c041511dScubeLIBDIR = ../lib
29c041511dScube
30c041511dScubeSOURCES = \
31c041511dScube	glut_8x13.c \
32c041511dScube	glut_9x15.c \
33c041511dScube	glut_bitmap.c \
34c041511dScube	glut_bwidth.c \
35c041511dScube	glut_cindex.c \
36c041511dScube	glut_cmap.c \
37c041511dScube	glut_cursor.c \
38c041511dScube	glut_dials.c \
39c041511dScube	glut_dstr.c \
40c041511dScube	glut_event.c \
41c041511dScube	glut_ext.c \
42c041511dScube	glut_fullscrn.c \
43c041511dScube	glut_get.c \
44c041511dScube	glut_hel10.c \
45c041511dScube	glut_hel12.c \
46c041511dScube	glut_hel18.c \
47c041511dScube	glut_init.c \
48c041511dScube	glut_input.c \
49c041511dScube	glut_mesa.c \
50c041511dScube	glut_modifier.c \
51c041511dScube	glut_mroman.c \
52c041511dScube	glut_overlay.c \
53c041511dScube	glut_roman.c \
54c041511dScube	glut_shapes.c \
55c041511dScube	glut_space.c \
56c041511dScube	glut_stroke.c \
57c041511dScube	glut_swap.c \
58c041511dScube	glut_swidth.c \
59c041511dScube	glut_tablet.c \
60c041511dScube	glut_teapot.c \
61c041511dScube	glut_tr10.c \
62c041511dScube	glut_tr24.c \
63c041511dScube	glut_util.c \
64c041511dScube	glut_vidresize.c \
65c041511dScube	glut_warp.c \
66c041511dScube	glut_win.c \
67c041511dScube	glut_winmisc.c \
68c041511dScube	win32_x11.c \
69c041511dScube	win32_glx.c \
70c041511dScube	win32_menu.c \
71c041511dScube	win32_util.c 
72c041511dScube
73c041511dScubeOBJECTS = $(SOURCES:.c=.o)
74c041511dScube
75c041511dScube
76c041511dScube
77c041511dScube##### RULES #####
78c041511dScube
79c041511dScube.c.o:
80c041511dScube	$(CC) -c -I$(INCDIR) $(CFLAGS) $<
81c041511dScube
82c041511dScube
83c041511dScube
84c041511dScube##### TARGETS #####
85c041511dScube
86c041511dScubedefault:
87c041511dScube	@echo "Specify a target configuration"
88c041511dScube
89c041511dScubeclean:
90c041511dScube	-rm *.o *~
91c041511dScube
92c041511dScubetargets: $(LIBDIR)/$(GLUT_LIB)
93c041511dScube
94c041511dScube# Make the library
95c041511dScube$(LIBDIR)/$(GLUT_LIB): $(OBJECTS)
96c041511dScube	$(MAKELIB) $(GLUT_LIB) $(GLUT_MAJOR) $(GLUT_MINOR) $(GLUT_TINY) $(OBJECTS)
97c041511dScube	mv $(GLUT_LIB)* $(LIBDIR)
98c041511dScube
99c041511dScubeinclude ../Make-config
100c041511dScube
101c041511dScubeinclude depend
102c041511dScube
103c041511dScube
104c041511dScube
105c041511dScube#
106c041511dScube# Run 'make dep' to update the dependencies if you change what's included
107c041511dScube# by any source file.
108c041511dScube# 
109c041511dScubedep: $(SOURCES)
110c041511dScube	makedepend -fdepend -Y -I../include $(SOURCES)
111