blob: af2a66695677004593c0ce8438228f0eba2ba82f [file] [log] [blame]
Brian Paulbb128de2000-04-01 05:57:41 +00001# $Id: Makefile.cygnus,v 1.7 2000/04/01 05:57:41 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 Paulb50d03e2000-03-06 23:35:06 +000022PROGS = clearspd drawpix gamma gears geartrain glinfo glutfx gloss isosurf \
Brian Paulbb128de2000-04-01 05:57:41 +000023 lodbias morph3d multiext occlude osdemo paltex pointblast \
24 readpix reflect \
Brian Paul062ebf42000-01-28 16:27:27 +000025 renormal spectex stex3d tessdemo texcyl texdown texobj trispd winpos
jtgafb833d1999-08-19 00:55:39 +000026
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
39default:
40 @echo "Specify a target configuration"
41
42clean:
43 -rm *.o *~
44
45realclean:
46 -rm $(PROGS:=.exe)
47 -rm *.o *~
48
49targets: $(PROGS)
50
51include ../Make-config
52
53