Demo of using GL_ARB_vertex/fragment_program to do per-pixel lighting.
[mesa.git] / progs / demos / Makefile.win
1 # $Id: Makefile.win,v 1.8 2003/04/17 19:20:55 brianp Exp $
2
3 # Mesa 3-D graphics library
4 # Version: 5.1
5 # Copyright (C) 1995-2003 Brian Paul
6
7 # Makefile for GLUT-based demo programs for Windows
8
9 !include <win32.mak>
10
11 ##### MACROS #####
12
13 TOP = ..
14 INCDIR = ..\include
15 LIBDIR = ..\lib
16
17 PROGS = \
18 arbfplight \
19 bounce \
20 clearspd \
21 cubemap \
22 drawpix \
23 fire \
24 fplight \
25 gamma \
26 gears \
27 geartrain \
28 glinfo \
29 gloss \
30 gltestperf \
31 glutfx \
32 isosurf \
33 ipers \
34 lodbias \
35 morph3d \
36 multiarb \
37 occlude \
38 osdemo \
39 paltex \
40 pixeltex \
41 pointblast \
42 ray \
43 readpix \
44 reflect \
45 renormal \
46 shadowtex \
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 SRCS = \
62 bounce.c \
63 clearspd.c \
64 cubemap.c \
65 drawpix.c \
66 fire.c \
67 gamma.c \
68 gears.c \
69 geartrain.c \
70 glinfo.c \
71 gloss.c \
72 gltestperf.c \
73 glutfx.c \
74 isosurf.c \
75 lodbias.c \
76 morph3d.c \
77 multiarb.c \
78 occlude.c \
79 paltex.c \
80 pixeltex.c \
81 pointblast.c \
82 ray.c \
83 readpix.c \
84 reflect.c \
85 renormal.c \
86 shadowtex.c \
87 spectex.c \
88 stex3d.c \
89 teapot.c \
90 terrain.c \
91 tessdemo.c \
92 texcyl.c \
93 texdown.c \
94 texenv.c \
95 texobj.c \
96 trispd.c \
97 tunnel.c \
98 tunnel2.c \
99 winpos.c
100
101 CXXSRCS = \
102 rain.cxx
103
104 OSMESASRCS = osdemo.c
105 IPERSSRCS = ipers.c
106 IPERSEXES = $(IPERSSRCS:.c=.exe)
107 !include "../mesawin32.mak"
108
109 ##### TARGETS #####
110
111 clean::
112
113 clobber::
114 @del readtex.c readtex.h
115
116 $(EXES) : $*.obj readtex.c readtex.h
117 @echo $@
118 $(link) -out:$@ $* /LIBPATH:$(LIBDIR) $(LIBS)
119
120 $(OSMESAEXES) : $*.obj
121 @echo $@
122 $(link) $(lcommon) -out:$@ $* /LIBPATH:$(LIBDIR) $(LIBS) $(EXTRALIBS)
123
124 $(IPERSEXES) : $*.obj
125 @echo $@
126 $(link) -out:$@ $* /LIBPATH:$(LIBDIR) $(LIBS) winmm.lib
127
128 readtex.c:
129 -copy ..\util\readtex.c .
130
131 readtex.h:
132 -copy ..\util\readtex.h .