gallium: change remaining util functions to use cso sampler views
[mesa/mesa-lb.git] / progs / vp / Makefile
blob58a0dacb22ec9c4629f4d9efb7a7887ed6cd9833
1 # progs/tests/Makefile
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.
7 TOP = ../..
8 include $(TOP)/configs/current
11 LIBS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLEW_LIB) -l$(GLU_LIB) -l$(GL_LIB) $(APP_LIB_DEPS)
13 SOURCES = \
14 vp-tris.c
18 PROGS = $(SOURCES:%.c=%)
20 INCLUDES = -I. -I$(TOP)/include -I../samples
23 ##### RULES #####
25 .SUFFIXES:
26 .SUFFIXES: .c
28 .c:
29 $(APP_CC) $(INCLUDES) $(CFLAGS) $(LDFLAGS) $< $(LIBS) -o $@
31 .c.o:
32 $(APP_CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) $< -o $@
34 .S.o:
35 $(APP_CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) $< -o $@
38 ##### TARGETS #####
40 default: $(PROGS)
42 clean:
43 -rm -f $(PROGS)
44 -rm -f *.o
45 -rm -f getproclist.h
51 # Emacs tags
52 tags:
53 etags `find . -name \*.[ch]` `find ../include`