Merge commit 'origin/master' into gallium-0.2
[mesa.git] / progs / demos / Makefile.cygnus
1
2 # Mesa 3-D graphics library
3 # Version: 3.3
4 # Copyright (C) 1995-2000 Brian Paul
5
6
7 # Makefile for demo programs for cygnus
8 # Stephane Rehel (rehel@worldnet.fr) April 13 1997
9
10
11
12 ##### MACROS #####
13
14 INCDIR = ../include
15 LIBDIR = ../lib
16
17 GL_LIBS = -L$(LIBDIR) -lglut -lMesaGLU -lMesaGL -lm $(WLIBS)
18
19 LIB_DEP = $(LIBDIR)/$(GL_LIB) $(LIBDIR)/$(GLU_LIB) $(LIBDIR)/$(GLUT_LIB)
20
21 PROGS = bounce \
22 clearspd \
23 cubemap \
24 drawpix \
25 fire \
26 gamma \
27 gears \
28 geartrain \
29 glinfo \
30 gloss \
31 gltestperf \
32 glutfx \
33 isosurf \
34 ipers \
35 lodbias \
36 morph3d \
37 multiarb \
38 occlude \
39 osdemo \
40 paltex \
41 pixeltex \
42 pointblast \
43 ray \
44 readpix \
45 reflect \
46 renormal \
47 spectex \
48 stex3d \
49 teapot \
50 terrain \
51 tessdemo \
52 texcyl \
53 texdown \
54 texenv \
55 texobj \
56 trispd \
57 tunnel \
58 tunnel2 \
59 winpos
60
61
62 ##### RULES #####
63
64 .SUFFIXES:
65 .SUFFIXES: .c
66
67 .c: $(LIB_DEP)
68 $(CC) -I$(INCDIR) -I../util $(CFLAGS) $< $(GL_LIBS) -o $@
69
70
71 ##### TARGETS #####
72
73 default:
74 @echo "Specify a target configuration"
75
76 clean:
77 -rm *.o *~
78
79 realclean:
80 -rm $(PROGS:=.exe)
81 -rm *.o *~
82
83 targets: $(PROGS)
84
85 include ../Make-config
86
87