Copy the readtex.[ch] files from ../util
[mesa.git] / progs / demos / Makefile.win
1 # $Id: Makefile.win,v 1.6 2001/10/26 21:01:45 kschultz Exp $
2
3 # Mesa 3-D graphics library
4 # Version: 3.5
5 # Copyright (C) 1995-2001 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 = anisotropic \
18 bounce \
19 clearspd \
20 cubemap \
21 drawpix \
22 fire \
23 gamma \
24 gears \
25 geartrain \
26 glinfo \
27 gloss \
28 gltestperf \
29 glutfx \
30 isosurf \
31 ipers \
32 lodbias \
33 morph3d \
34 multiarb \
35 occlude \
36 osdemo \
37 paltex \
38 pixeltex \
39 pointblast \
40 ray \
41 readpix \
42 reflect \
43 renormal \
44 shadowtex \
45 spectex \
46 stex3d \
47 teapot \
48 terrain \
49 tessdemo \
50 texcyl \
51 texdown \
52 texenv \
53 texobj \
54 trispd \
55 tunnel \
56 tunnel2 \
57 winpos
58
59 SRCS = \
60 bounce.c \
61 clearspd.c \
62 cubemap.c \
63 drawpix.c \
64 fire.c \
65 gamma.c \
66 gears.c \
67 geartrain.c \
68 glinfo.c \
69 gloss.c \
70 isosurf.c \
71 morph3d.c \
72 teapot.c
73
74 OSMESASRCS = osdemo.c
75
76 !include "../mesawin32.mak"
77
78 ##### TARGETS #####
79
80 clean::
81
82 clobber::
83 @del readtex.c readtex.h
84
85 $(EXES) : $*.obj readtex.c readtex.h
86 @echo $@
87 $(link) -out:$@ $* /LIBPATH:$(LIBDIR) $(LIBS)
88
89 $(OSMESAEXES) : $*.obj
90 @echo $@
91 $(link) $(lcommon) -out:$@ $* /LIBPATH:$(LIBDIR) $(LIBS) $(EXTRALIBS)
92
93 readtex.c:
94 -copy ..\util\readtex.c .
95
96 readtex.h:
97 -copy ..\util\readtex.h .
98