Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.
[mesa.git] / progs / samples / Makefile.BeOS-R4
1
2 # Mesa 3-D graphics library
3 # Version: 3.1
4 # Copyright (C) 1995-1999 Brian Paul
5 #
6 # This file is in the public domain.
7
8
9 # Makefile for sample programs for BeOS R4
10
11
12
13
14 ##### MACROS #####
15
16 INCDIR = ../include
17 LIBDIR = ../lib
18
19 GL_LIBS = -L$(LIBDIR) -L/boot/home/config/lib -Xlinker -rpath $(LIBDIR) -lbe -lglut -lGLU -lGL $(XLIBS)
20
21 LIB_DEP = $(LIBDIR)/$(GL_LIB) $(LIBDIR)/$(GLU_LIB) $(LIBDIR)/$(GLUT_LIB)
22
23 PROGS = accum bitmap1 bitmap2 blendeq blendxor copy cursor depth eval fog \
24 font line logo olympic overlay point prim select \
25 shape sphere star stencil stretch texture tri wave
26
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
38 ##### TARGETS #####
39
40 default:
41 @echo "Specify a target configuration"
42
43 clean:
44 -rm *.o *~
45
46 realclean:
47 -rm $(PROGS)
48 -rm *.o *~
49
50 targets: $(PROGS)
51
52 # execute all programs
53 exec: $(PROGS)
54 @for prog in $(PROGS) ; \
55 do \
56 echo -n "Running $$prog ..." ; \
57 $$prog ; \
58 echo ; \
59 done
60
61
62 include ../Make-config
63