blob: ef27b6f6b2d47741af7e45d51db581fe5d1efe0e [file] [log] [blame]
Brian Paul062ebf42000-01-28 16:27:27 +00001# $Id: Makefile.cygnus,v 1.3 2000/01/28 16:27:27 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 Paul83435611999-10-22 20:35:17 +000022PROGS = clearspd drawpix gamma gears glinfo glutfx gloss isosurf \
jtgafb833d1999-08-19 00:55:39 +000023 morph3d multiext osdemo paltex pointblast reflect \
Brian Paul062ebf42000-01-28 16:27:27 +000024 renormal spectex stex3d tessdemo texcyl texdown texobj trispd winpos
jtgafb833d1999-08-19 00:55:39 +000025
26
27##### RULES #####
28
29.SUFFIXES:
30.SUFFIXES: .c
31
32.c: $(LIB_DEP)
33 $(CC) -I$(INCDIR) $(CFLAGS) $< $(GL_LIBS) -o $@
34
35
36##### TARGETS #####
37
38default:
39 @echo "Specify a target configuration"
40
41clean:
42 -rm *.o *~
43
44realclean:
45 -rm $(PROGS:=.exe)
46 -rm *.o *~
47
48targets: $(PROGS)
49
50include ../Make-config
51
52