nvfx: expose GLSL
[mesa/mesa-lb.git] / progs / vpglsl / Makefile
blob3982aca5650574fd5a948cba9fd147f13f1b3406
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
10 LIBS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLEW_LIB) -l$(GLU_LIB) -l$(GL_LIB) $(APP_LIB_DEPS)
12 SOURCES = \
13 vp-tris.c
17 PROGS = $(SOURCES:%.c=%)
19 INCLUDES = -I. -I$(TOP)/include -I../samples
22 ##### RULES #####
24 .SUFFIXES:
25 .SUFFIXES: .c
27 .c:
28 $(CC) $(INCLUDES) $(CFLAGS) $< $(LIBS) -o $@
30 .c.o:
31 $(CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) $< -o $@
33 .S.o:
34 $(CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) $< -o $@
37 ##### TARGETS #####
39 default: $(PROGS)
41 clean:
42 rm -f $(PROGS)
43 rm -f *.o
44 rm -f getproclist.h
50 # Emacs tags
51 tags:
52 etags `find . -name \*.[ch]` `find ../include`