svga: Disable debug message.
[mesa.git] / progs / vp / Makefile
1 # progs/tests/Makefile
2
3
4 # These programs aren't intended to be included with the normal distro.
5 # They're not too interesting but they're good for testing.
6
7 TOP = ../..
8 include $(TOP)/configs/current
9
10
11 LIBS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLEW_LIB) -l$(GLU_LIB) -l$(GL_LIB) $(APP_LIB_DEPS)
12
13 SOURCES = \
14 vp-tris.c
15
16
17
18 PROGS = $(SOURCES:%.c=%)
19
20 INCLUDES = -I. -I$(TOP)/include -I../samples
21
22
23 ##### RULES #####
24
25 .SUFFIXES:
26 .SUFFIXES: .c
27
28 .c:
29 $(APP_CC) $(INCLUDES) $(CFLAGS) $(LDFLAGS) $< $(LIBS) -o $@
30
31 .c.o:
32 $(APP_CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) $< -o $@
33
34 .S.o:
35 $(APP_CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) $< -o $@
36
37
38 ##### TARGETS #####
39
40 default: $(PROGS)
41
42 clean:
43 -rm -f $(PROGS)
44 -rm -f *.o
45 -rm -f getproclist.h
46
47
48
49
50
51 # Emacs tags
52 tags:
53 etags `find . -name \*.[ch]` `find ../include`