02efb7f6ed0b1d6748ab86aed402d9c12230d9f7
[mesa.git] / progs / demos / Makefile.win
1 # $Id: Makefile.win,v 1.3 2001/09/18 20:47:23 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 OSMESASRCS = osdemo.c
61
62 !include "../mesawin32.mak"
63
64 ##### TARGETS #####
65
66 clean::
67
68 realclean::
69
70 targets: readtex.c readtex.h $(PROGS)
71
72 # remove comments when we get non-osmesa pgm working
73 #$(EXES) : $*.obj
74 # @echo $@
75 # $(link) -out:$@ $** /LIBPATH:$(LIBDIR) $(LIBS)
76
77 $(OSMESAEXES) : $*.obj
78 @echo $@
79 $(link) -out:$@ $** /LIBPATH:$(LIBDIR) $(LIBS) $(EXTRALIBS)
80
81 readtex.c:
82 @copy ../util/readtex.c .
83
84 readtex.h:
85 @copy ../util/readtex.c .
86