glapi: Move to src/mapi/.
[mesa.git] / progs / redbook / Makefile
1 # progs/redbook/Makefile
2
3 TOP = ../..
4 include $(TOP)/configs/current
5
6 INCDIR = $(TOP)/include
7
8 LIB_DEP = $(TOP)/$(LIB_DIR)/$(GL_LIB_NAME) $(TOP)/$(LIB_DIR)/$(GLU_LIB_NAME) $(TOP)/$(LIB_DIR)/$(GLUT_LIB_NAME)
9
10 LIBS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLEW_LIB) -l$(GLU_LIB) -l$(GL_LIB) $(APP_LIB_DEPS)
11
12 PROGS = aaindex \
13 aapoly \
14 aargb \
15 accanti \
16 accpersp \
17 alpha \
18 alpha3D \
19 anti \
20 bezcurve \
21 bezmesh \
22 checker \
23 clip \
24 colormat \
25 combiner \
26 convolution \
27 cube \
28 cubemap \
29 depthcue \
30 dof \
31 double \
32 drawf \
33 feedback \
34 fog \
35 fogcoord \
36 fogindex \
37 font \
38 hello \
39 histogram \
40 image \
41 light \
42 lines \
43 list \
44 material \
45 minmax \
46 mipmap \
47 model \
48 movelight \
49 multitex \
50 multisamp \
51 mvarray \
52 nurbs \
53 pickdepth \
54 picksquare \
55 plane \
56 planet \
57 pointp \
58 polyoff \
59 polys \
60 quadric \
61 robot \
62 sccolorlight \
63 scene \
64 scenebamb \
65 sceneflat \
66 select \
67 shadowmap \
68 smooth \
69 stencil \
70 stroke \
71 surface \
72 surfpoints \
73 teaambient \
74 teapots \
75 tess \
76 tesswind \
77 texbind \
78 texgen \
79 texprox \
80 texsub \
81 texturesurf \
82 texture3d \
83 torus \
84 trim \
85 unproject \
86 varray \
87 wrap
88
89
90
91 ##### RULES #####
92
93 .SUFFIXES:
94 .SUFFIXES: .c
95
96 .c: $(LIB_DEP)
97 $(APP_CC) -I$(INCDIR) $(CFLAGS) $(LDFLAGS) $< $(LIBS) -o $@
98
99
100
101 ##### TARGETS ######
102
103 default: $(PROGS)
104
105
106 clean:
107 -rm -f $(PROGS)
108 -rm -f *.o *~
109