added a few more scale/bias/lookup functions (for future use)
[mesa.git] / src / glu / mesa / Makefile.X11
1 # $Id: Makefile.X11,v 1.6 1999/10/03 00:53:38 gareth Exp $
2
3 # Mesa 3-D graphics library
4 # Version: 3.1
5 # Copyright (C) 1995-1999 Brian Paul
6
7 # Makefile for GLU library
8
9
10 ##### MACROS #####
11
12 GLU_MAJOR = 1
13 GLU_MINOR = 2
14 GLU_TINY = 0$(MESA_MAJOR)0$(MESA_MINOR)0$(MESA_TINY)
15
16 VPATH = RCS
17
18 INCDIR = ../include
19 LIBDIR = ../lib
20
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 \
23 tess_winding.c
24
25 OBJECTS = $(SOURCES:.c=.o)
26
27
28
29 ##### RULES #####
30
31 .c.o:
32 $(CC) -c -I$(INCDIR) $(CFLAGS) $<
33
34
35
36 ##### TARGETS #####
37
38 default:
39 @echo "Specify a target configuration"
40
41 clean:
42 -rm *.o *~
43
44 targets: $(LIBDIR)/$(GLU_LIB)
45
46 # Make the library:
47 $(LIBDIR)/$(GLU_LIB): $(OBJECTS)
48 $(MAKELIB) $(GLU_LIB) $(GLU_MAJOR) $(GLU_MINOR) $(GLU_TINY) $(OBJECTS)
49 mv $(GLU_LIB)* $(LIBDIR)
50
51 include ../Make-config
52
53 include depend
54
55
56
57 #
58 # Run 'make depend' to update the dependencies if you change what's included
59 # by any source file.
60 #
61 dep: $(SOURCES)
62 makedepend -fdepend -Y -I../include $(SOURCES)