Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.
[mesa.git] / progs / samples / Makefile.X11
1 # Makefile for assorted SGI OpenGL demos
2
3
4 ##### MACROS #####
5
6 TOP = ..
7 INCDIR = $(TOP)/include
8 LIBDIR = $(TOP)/lib
9
10 LIBS = -L$(LIBDIR) $(APP_LIB_DEPS)
11
12 LIB_DEP = $(LIBDIR)/$(GL_LIB) $(LIBDIR)/$(GLU_LIB) $(LIBDIR)/$(GLUT_LIB)
13
14 PROGS = accum bitmap1 bitmap2 blendeq blendxor copy cursor depth eval fog \
15 font line logo nurb oglinfo olympic overlay point prim quad select \
16 shape sphere star stencil stretch texture tri wave
17
18
19 ##### RULES #####
20
21 .SUFFIXES:
22 .SUFFIXES: .c
23
24 .c: $(LIB_DEP)
25 $(CC) -I$(INCDIR) $(CFLAGS) $< $(LIBS) -o $@
26
27
28
29 ##### TARGETS #####
30
31 default:
32 @echo "Specify a target configuration"
33
34 clean:
35 -rm *.o *~
36
37 realclean:
38 -rm $(PROGS)
39 -rm *.o *~
40
41 targets: $(PROGS)
42
43
44 include $(TOP)/Make-config