textured line test
[mesa.git] / progs / tests / Makefile
1
2 # Simple makefile for compiling test programs on Linux
3 # These programs aren't intended to be included with the normal
4 # distro as they're not too interesting but good for testing during
5 # development.
6
7
8 CC = gcc
9 CFLAGS = -c -g -I../include
10 LIBS = -L../lib -lglut -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXext -lm
11
12
13 PROGRAMS = manytex sharedtex
14
15
16 default: $(PROGRAMS)
17
18 clean:
19 rm -f $(PROGRAMS)
20 rm -f *.o
21
22
23
24 manytex: manytex.o
25 $(CC) manytex.o $(LIBS) -o $@
26
27 manytex.o: manytex.c
28 $(CC) $(CFLAGS) manytex.c
29
30
31 sharedtex: sharedtex.o
32 $(CC) sharedtex.o $(LIBS) -o $@
33
34 sharedtex.o: sharedtex.c
35 $(CC) $(CFLAGS) sharedtex.c