blob: 0efc1ab0c99e5c566a74630625c075a4d33266c7 [file] [log] [blame]
jtgafb833d1999-08-19 00:55:39 +00001
2# Mesa 3-D graphics library
Brian Paul062ebf42000-01-28 16:27:27 +00003# Version: 3.3
4# Copyright (C) 1995-2000 Brian Paul
jtgafb833d1999-08-19 00:55:39 +00005
6
Brian Paul83435611999-10-22 20:35:17 +00007# Makefile for demo programs for cygnus
8# Stephane Rehel (rehel@worldnet.fr) April 13 1997
jtgafb833d1999-08-19 00:55:39 +00009
jtgafb833d1999-08-19 00:55:39 +000010
11
12##### MACROS #####
13
14INCDIR = ../include
15LIBDIR = ../lib
16
17GL_LIBS = -L$(LIBDIR) -lglut -lMesaGLU -lMesaGL -lm $(WLIBS)
18
19LIB_DEP = $(LIBDIR)/$(GL_LIB) $(LIBDIR)/$(GLU_LIB) $(LIBDIR)/$(GLUT_LIB)
20
Brian Paule4b40b02000-06-27 15:56:46 +000021PROGS = bounce \
22 clearspd \
23 cubemap \
24 drawpix \
Brian Paul0674c222000-06-27 16:54:18 +000025 fire \
Brian Paule4b40b02000-06-27 15:56:46 +000026 gamma \
27 gears \
28 geartrain \
29 glinfo \
30 gloss \
Brian Paul0674c222000-06-27 16:54:18 +000031 gltestperf \
Brian Paule4b40b02000-06-27 15:56:46 +000032 glutfx \
33 isosurf \
Brian Paul0674c222000-06-27 16:54:18 +000034 ipers \
Brian Paule4b40b02000-06-27 15:56:46 +000035 lodbias \
36 morph3d \
37 multiarb \
38 occlude \
39 osdemo \
40 paltex \
41 pixeltex \
42 pointblast \
Brian Paul0674c222000-06-27 16:54:18 +000043 ray \
Brian Paule4b40b02000-06-27 15:56:46 +000044 readpix \
45 reflect \
46 renormal \
47 spectex \
48 stex3d \
Brian Paul0674c222000-06-27 16:54:18 +000049 teapot \
50 terrain \
Brian Paule4b40b02000-06-27 15:56:46 +000051 tessdemo \
52 texcyl \
53 texdown \
54 texenv \
55 texobj \
56 trispd \
Brian Paul0674c222000-06-27 16:54:18 +000057 tunnel \
58 tunnel2 \
Brian Paule4b40b02000-06-27 15:56:46 +000059 winpos
jtgafb833d1999-08-19 00:55:39 +000060
61
62##### RULES #####
63
64.SUFFIXES:
65.SUFFIXES: .c
66
67.c: $(LIB_DEP)
pescod1ff1f62000-12-24 22:53:54 +000068 $(CC) -I$(INCDIR) -I../util $(CFLAGS) $< $(GL_LIBS) -o $@
jtgafb833d1999-08-19 00:55:39 +000069
70
71##### TARGETS #####
72
73default:
74 @echo "Specify a target configuration"
75
76clean:
77 -rm *.o *~
78
79realclean:
80 -rm $(PROGS:=.exe)
81 -rm *.o *~
82
83targets: $(PROGS)
84
85include ../Make-config
86
87