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