renumber ARB_shader_objects and ARB_vertex_shader offsets
[mesa.git] / progs / xdemos / Makefile
1 # progs/xdemos/Makefile
2
3 TOP = ../../
4 include $(TOP)/configs/current
5
6
7 INCDIR = $(TOP)/include
8
9 LIB_DEP = $(LIB_DIR)/$(GL_LIB_NAME) $(LIB_DIR)/$(GLU_LIB_NAME)
10
11 PROGS = glthreads \
12 glxdemo \
13 glxgears \
14 glxheads \
15 glxinfo \
16 glxpixmap \
17 glxpbdemo \
18 glxswapcontrol \
19 manywin \
20 offset \
21 pbinfo \
22 pbdemo \
23 wincopy \
24 xdemo \
25 xfont \
26 xrotfontdemo
27
28
29
30 ##### RULES #####
31
32 .SUFFIXES:
33 .SUFFIXES: .c
34
35 .c: $(LIB_DEP)
36 $(CC) -I$(INCDIR) $(CFLAGS) $< $(APP_LIB_DEPS) -o $@
37
38
39 ##### TARGETS #####
40
41 default: $(PROGS)
42
43
44 clean:
45 -rm -f $(PROGS)
46 -rm -f *.o *~
47
48
49 # special cases
50 pbinfo: pbinfo.o pbutil.o
51 $(CC) pbinfo.o pbutil.o $(APP_LIB_DEPS) -o $@
52
53 pbdemo: pbdemo.o pbutil.o
54 $(CC) pbdemo.o pbutil.o $(APP_LIB_DEPS) -o $@
55
56 pbinfo.o: pbinfo.c pbutil.h
57 $(CC) -c -I. -I$(INCDIR) $(CFLAGS) pbinfo.c
58
59 pbdemo.o: pbdemo.c pbutil.h
60 $(CC) -c -I. -I$(INCDIR) $(CFLAGS) pbdemo.c
61
62 pbutil.o: pbutil.c pbutil.h
63 $(CC) -c -I. -I$(INCDIR) $(CFLAGS) pbutil.c
64
65
66 xrotfontdemo: xrotfontdemo.o xuserotfont.o
67 $(CC) xrotfontdemo.o xuserotfont.o $(APP_LIB_DEPS) -o $@
68
69 xuserotfont.o: xuserotfont.c xuserotfont.h
70 $(CC) -c -I. -I$(INCDIR) $(CFLAGS) xuserotfont.c
71
72 xrotfontdemo.o: xrotfontdemo.c xuserotfont.h
73 $(CC) -c -I. -I$(INCDIR) $(CFLAGS) xrotfontdemo.c
74