Brian Paul | 8343561 | 1999-10-22 20:35:17 +0000 | [diff] [blame] | 1 | # $Id: Makefile.cygnus,v 1.2 1999/10/22 20:37:23 brianp Exp $ |
jtg | afb833d | 1999-08-19 00:55:39 +0000 | [diff] [blame] | 2 | |
| 3 | # Mesa 3-D graphics library |
Brian Paul | 8343561 | 1999-10-22 20:35:17 +0000 | [diff] [blame] | 4 | # Version: 3.1 |
| 5 | # Copyright (C) 1995-1999 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 | 8343561 | 1999-10-22 20:35:17 +0000 | [diff] [blame] | 22 | PROGS = clearspd drawpix gamma gears glinfo glutfx gloss isosurf \ |
jtg | afb833d | 1999-08-19 00:55:39 +0000 | [diff] [blame] | 23 | morph3d multiext osdemo paltex pointblast reflect \ |
| 24 | renormal spectex stex3d tessdemo texcyl texobj trispd winpos |
| 25 | |
| 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 | |
| 38 | default: |
| 39 | @echo "Specify a target configuration" |
| 40 | |
| 41 | clean: |
| 42 | -rm *.o *~ |
| 43 | |
| 44 | realclean: |
| 45 | -rm $(PROGS:=.exe) |
| 46 | -rm *.o *~ |
| 47 | |
| 48 | targets: $(PROGS) |
| 49 | |
| 50 | include ../Make-config |
| 51 | |
| 52 | |