jtg | afb833d | 1999-08-19 00:55:39 +0000 | [diff] [blame] | 1 | |
2 | # Mesa 3-D graphics library | ||||
Brian Paul | 062ebf4 | 2000-01-28 16:27:27 +0000 | [diff] [blame] | 3 | # Version: 3.3 |
4 | # Copyright (C) 1995-2000 Brian Paul | ||||
jtg | afb833d | 1999-08-19 00:55:39 +0000 | [diff] [blame] | 5 | |
6 | |||||
Brian Paul | 8343561 | 1999-10-22 20:35:17 +0000 | [diff] [blame] | 7 | # Makefile for demo programs for cygnus |
8 | # Stephane Rehel (rehel@worldnet.fr) April 13 1997 | ||||
jtg | afb833d | 1999-08-19 00:55:39 +0000 | [diff] [blame] | 9 | |
jtg | afb833d | 1999-08-19 00:55:39 +0000 | [diff] [blame] | 10 | |
11 | |||||
12 | ##### MACROS ##### | ||||
13 | |||||
14 | INCDIR = ../include | ||||
15 | LIBDIR = ../lib | ||||
16 | |||||
17 | GL_LIBS = -L$(LIBDIR) -lglut -lMesaGLU -lMesaGL -lm $(WLIBS) | ||||
18 | |||||
19 | LIB_DEP = $(LIBDIR)/$(GL_LIB) $(LIBDIR)/$(GLU_LIB) $(LIBDIR)/$(GLUT_LIB) | ||||
20 | |||||
Brian Paul | e4b40b0 | 2000-06-27 15:56:46 +0000 | [diff] [blame] | 21 | PROGS = bounce \ |
22 | clearspd \ | ||||
23 | cubemap \ | ||||
24 | drawpix \ | ||||
Brian Paul | 0674c22 | 2000-06-27 16:54:18 +0000 | [diff] [blame] | 25 | fire \ |
Brian Paul | e4b40b0 | 2000-06-27 15:56:46 +0000 | [diff] [blame] | 26 | gamma \ |
27 | gears \ | ||||
28 | geartrain \ | ||||
29 | glinfo \ | ||||
30 | gloss \ | ||||
Brian Paul | 0674c22 | 2000-06-27 16:54:18 +0000 | [diff] [blame] | 31 | gltestperf \ |
Brian Paul | e4b40b0 | 2000-06-27 15:56:46 +0000 | [diff] [blame] | 32 | glutfx \ |
33 | isosurf \ | ||||
Brian Paul | 0674c22 | 2000-06-27 16:54:18 +0000 | [diff] [blame] | 34 | ipers \ |
Brian Paul | e4b40b0 | 2000-06-27 15:56:46 +0000 | [diff] [blame] | 35 | lodbias \ |
36 | morph3d \ | ||||
37 | multiarb \ | ||||
38 | occlude \ | ||||
39 | osdemo \ | ||||
40 | paltex \ | ||||
41 | pixeltex \ | ||||
42 | pointblast \ | ||||
Brian Paul | 0674c22 | 2000-06-27 16:54:18 +0000 | [diff] [blame] | 43 | ray \ |
Brian Paul | e4b40b0 | 2000-06-27 15:56:46 +0000 | [diff] [blame] | 44 | readpix \ |
45 | reflect \ | ||||
46 | renormal \ | ||||
47 | spectex \ | ||||
48 | stex3d \ | ||||
Brian Paul | 0674c22 | 2000-06-27 16:54:18 +0000 | [diff] [blame] | 49 | teapot \ |
50 | terrain \ | ||||
Brian Paul | e4b40b0 | 2000-06-27 15:56:46 +0000 | [diff] [blame] | 51 | tessdemo \ |
52 | texcyl \ | ||||
53 | texdown \ | ||||
54 | texenv \ | ||||
55 | texobj \ | ||||
56 | trispd \ | ||||
Brian Paul | 0674c22 | 2000-06-27 16:54:18 +0000 | [diff] [blame] | 57 | tunnel \ |
58 | tunnel2 \ | ||||
Brian Paul | e4b40b0 | 2000-06-27 15:56:46 +0000 | [diff] [blame] | 59 | winpos |
jtg | afb833d | 1999-08-19 00:55:39 +0000 | [diff] [blame] | 60 | |
61 | |||||
62 | ##### RULES ##### | ||||
63 | |||||
64 | .SUFFIXES: | ||||
65 | .SUFFIXES: .c | ||||
66 | |||||
67 | .c: $(LIB_DEP) | ||||
pesco | d1ff1f6 | 2000-12-24 22:53:54 +0000 | [diff] [blame] | 68 | $(CC) -I$(INCDIR) -I../util $(CFLAGS) $< $(GL_LIBS) -o $@ |
jtg | afb833d | 1999-08-19 00:55:39 +0000 | [diff] [blame] | 69 | |
70 | |||||
71 | ##### TARGETS ##### | ||||
72 | |||||
73 | default: | ||||
74 | @echo "Specify a target configuration" | ||||
75 | |||||
76 | clean: | ||||
77 | -rm *.o *~ | ||||
78 | |||||
79 | realclean: | ||||
80 | -rm $(PROGS:=.exe) | ||||
81 | -rm *.o *~ | ||||
82 | |||||
83 | targets: $(PROGS) | ||||
84 | |||||
85 | include ../Make-config | ||||
86 | |||||
87 |