Makefile 660 Bytes
Newer Older
1
# $Id: Makefile,v 1.1.2.2 2003/03/04 17:29:55 keithw Exp $
2
3
4
5
6
7
8
9

# Mesa 3-D graphics library
# Version:  5.0
# Copyright (C) 1995-2002  Brian Paul



MESA = ../..
10
11
default: dri.a
include $(MESA)/Makefile.include
12
13
14
15

INCLUDES = -I/usr/X11R6/include -I/usr/X11R6/include/X11/extensions -I$(MESA)/include -I. -I..
DEFINES = 

16
17
18
19
20
21
C_SOURCES = dri_glx.c \
	    dri_util.c \
	    xf86drm.c \
	    xf86drmHash.c \
	    xf86drmRandom.c \
	    xf86drmSL.c
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37

ASM_SOURCES = 

OBJECTS = $(C_SOURCES:.c=.o) \
	  $(ASM_SOURCES:.S=.o) 



##### TARGETS #####

dri.a: $(OBJECTS) Makefile
	rm -f $@ && ar rcv $@ $(OBJECTS) && ranlib $@

##### DEPENDENCIES #####

-include $(C_SOURCES:.c=.d)