blob: c85bb60444dfc4e93955eb715174e4489395b78d [file] [log] [blame]
Brian Paule4b40b02000-06-27 15:56:46 +00001# $Id: Makefile.cygnus,v 1.10 2000/06/27 15:56:46 brianp Exp $
jtgafb833d1999-08-19 00:55:39 +00002
3# Mesa 3-D graphics library
Brian Paul062ebf42000-01-28 16:27:27 +00004# Version: 3.3
5# Copyright (C) 1995-2000 Brian Paul
jtgafb833d1999-08-19 00:55:39 +00006
7
Brian Paul83435611999-10-22 20:35:17 +00008# Makefile for demo programs for cygnus
9# Stephane Rehel (rehel@worldnet.fr) April 13 1997
jtgafb833d1999-08-19 00:55:39 +000010
jtgafb833d1999-08-19 00:55:39 +000011
12
13##### MACROS #####
14
15INCDIR = ../include
16LIBDIR = ../lib
17
18GL_LIBS = -L$(LIBDIR) -lglut -lMesaGLU -lMesaGL -lm $(WLIBS)
19
20LIB_DEP = $(LIBDIR)/$(GL_LIB) $(LIBDIR)/$(GLU_LIB) $(LIBDIR)/$(GLUT_LIB)
21
Brian Paule4b40b02000-06-27 15:56:46 +000022PROGS = bounce \
23 clearspd \
24 cubemap \
25 drawpix \
26 gamma \
27 gears \
28 geartrain \
29 glinfo \
30 gloss \
31 glutfx \
32 isosurf \
33 lodbias \
34 morph3d \
35 multiarb \
36 occlude \
37 osdemo \
38 paltex \
39 pixeltex \
40 pointblast \
41 readpix \
42 reflect \
43 renormal \
44 spectex \
45 stex3d \
46 tessdemo \
47 texcyl \
48 texdown \
49 texenv \
50 texobj \
51 trispd \
52 winpos
jtgafb833d1999-08-19 00:55:39 +000053
54
55##### RULES #####
56
57.SUFFIXES:
58.SUFFIXES: .c
59
60.c: $(LIB_DEP)
61 $(CC) -I$(INCDIR) $(CFLAGS) $< $(GL_LIBS) -o $@
62
63
64##### TARGETS #####
65
66default:
67 @echo "Specify a target configuration"
68
69clean:
70 -rm *.o *~
71
72realclean:
73 -rm $(PROGS:=.exe)
74 -rm *.o *~
75
76targets: $(PROGS)
77
78include ../Make-config
79
80