added pixeltex demo
[mesa.git] / progs / demos / Makefile.cygnus
1 # $Id: Makefile.cygnus,v 1.8 2000/04/07 16:30:46 brianp Exp $
2
3 # Mesa 3-D graphics library
4 # Version: 3.3
5 # Copyright (C) 1995-2000 Brian Paul
6
7
8 # Makefile for demo programs for cygnus
9 # Stephane Rehel (rehel@worldnet.fr) April 13 1997
10
11
12
13 ##### MACROS #####
14
15 INCDIR = ../include
16 LIBDIR = ../lib
17
18 GL_LIBS = -L$(LIBDIR) -lglut -lMesaGLU -lMesaGL -lm $(WLIBS)
19
20 LIB_DEP = $(LIBDIR)/$(GL_LIB) $(LIBDIR)/$(GLU_LIB) $(LIBDIR)/$(GLUT_LIB)
21
22 PROGS = clearspd drawpix gamma gears geartrain glinfo glutfx gloss isosurf \
23 lodbias morph3d multiext occlude osdemo paltex pixeltex pointblast \
24 readpix reflect \
25 renormal spectex stex3d tessdemo texcyl texdown texobj trispd winpos
26
27
28 ##### RULES #####
29
30 .SUFFIXES:
31 .SUFFIXES: .c
32
33 .c: $(LIB_DEP)
34 $(CC) -I$(INCDIR) $(CFLAGS) $< $(GL_LIBS) -o $@
35
36
37 ##### TARGETS #####
38
39 default:
40 @echo "Specify a target configuration"
41
42 clean:
43 -rm *.o *~
44
45 realclean:
46 -rm $(PROGS:=.exe)
47 -rm *.o *~
48
49 targets: $(PROGS)
50
51 include ../Make-config
52
53