Brian Paul | e4b40b0 | 2000-06-27 15:56:46 +0000 | [diff] [blame^] | 1 | # $Id: Makefile.cygnus,v 1.10 2000/06/27 15:56:46 brianp Exp $ |
jtg | afb833d | 1999-08-19 00:55:39 +0000 | [diff] [blame] | 2 | |
| 3 | # Mesa 3-D graphics library |
Brian Paul | 062ebf4 | 2000-01-28 16:27:27 +0000 | [diff] [blame] | 4 | # Version: 3.3 |
| 5 | # Copyright (C) 1995-2000 Brian Paul |
jtg | afb833d | 1999-08-19 00:55:39 +0000 | [diff] [blame] | 6 | |
| 7 | |
Brian Paul | 8343561 | 1999-10-22 20:35:17 +0000 | [diff] [blame] | 8 | # Makefile for demo programs for cygnus |
| 9 | # Stephane Rehel (rehel@worldnet.fr) April 13 1997 |
jtg | afb833d | 1999-08-19 00:55:39 +0000 | [diff] [blame] | 10 | |
jtg | afb833d | 1999-08-19 00:55:39 +0000 | [diff] [blame] | 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 | |
Brian Paul | e4b40b0 | 2000-06-27 15:56:46 +0000 | [diff] [blame^] | 22 | PROGS = 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 |
jtg | afb833d | 1999-08-19 00:55:39 +0000 | [diff] [blame] | 53 | |
| 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 | |
| 66 | default: |
| 67 | @echo "Specify a target configuration" |
| 68 | |
| 69 | clean: |
| 70 | -rm *.o *~ |
| 71 | |
| 72 | realclean: |
| 73 | -rm $(PROGS:=.exe) |
| 74 | -rm *.o *~ |
| 75 | |
| 76 | targets: $(PROGS) |
| 77 | |
| 78 | include ../Make-config |
| 79 | |
| 80 | |