~ubuntu-branches/ubuntu/quantal/mesa/quantal

« back to all changes in this revision

Viewing changes to progs/vp/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2007-02-21 12:44:07 UTC
  • mfrom: (1.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 22.
  • Revision ID: james.westby@ubuntu.com-20070221124407-rgcacs32mycrtadl
ImportĀ upstreamĀ versionĀ 6.5.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
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 = $(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
 
        $(CC) $(INCLUDES) $(CFLAGS) $< $(LIBS) -o $@
30
 
 
31
 
.c.o:
32
 
        $(CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) $< -o $@
33
 
 
34
 
.S.o:
35
 
        $(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`