fixed FP underflow problem in kfact computation
[mesa.git] / progs / demos / Makefile.cygnus
1 # $Id: Makefile.cygnus,v 1.12 2000/12/24 22:53:54 pesco 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 fire \
27 gamma \
28 gears \
29 geartrain \
30 glinfo \
31 gloss \
32 gltestperf \
33 glutfx \
34 isosurf \
35 ipers \
36 lodbias \
37 morph3d \
38 multiarb \
39 occlude \
40 osdemo \
41 paltex \
42 pixeltex \
43 pointblast \
44 ray \
45 readpix \
46 reflect \
47 renormal \
48 spectex \
49 stex3d \
50 teapot \
51 terrain \
52 tessdemo \
53 texcyl \
54 texdown \
55 texenv \
56 texobj \
57 trispd \
58 tunnel \
59 tunnel2 \
60 winpos
61
62
63 ##### RULES #####
64
65 .SUFFIXES:
66 .SUFFIXES: .c
67
68 .c: $(LIB_DEP)
69 $(CC) -I$(INCDIR) -I../util $(CFLAGS) $< $(GL_LIBS) -o $@
70
71
72 ##### TARGETS #####
73
74 default:
75 @echo "Specify a target configuration"
76
77 clean:
78 -rm *.o *~
79
80 realclean:
81 -rm $(PROGS:=.exe)
82 -rm *.o *~
83
84 targets: $(PROGS)
85
86 include ../Make-config
87
88