r300/compiler: shorten swizzle expressions
[mesa.git] / src / mesa / drivers / fbdev / Makefile
1 # src/mesa/drivers/fbdev/Makefile for libGL.so
2
3 TOP = ../../../..
4
5 include $(TOP)/configs/current
6
7
8 SOURCES = glfbdev.c
9
10 OBJECTS = $(SOURCES:.c=.o)
11
12 INCLUDE_DIRS = \
13 -I$(TOP)/include \
14 -I$(TOP)/src/mapi \
15 -I$(TOP)/src/mesa \
16 -I$(TOP)/src/mesa/main
17
18 CORE_MESA = $(TOP)/src/mesa/libmesa.a $(TOP)/src/mapi/glapi/libglapi.a
19
20
21 .c.o:
22 $(CC) -c $(INCLUDE_DIRS) $(CFLAGS) $< -o $@
23
24
25 default: $(TOP)/$(LIB_DIR)/$(GL_LIB_NAME)
26
27
28 $(TOP)/$(LIB_DIR)/$(GL_LIB_NAME): $(CORE_MESA) $(OBJECTS)
29 @ $(MKLIB) -o $(GL_LIB) -linker '$(CC)' -ldflags '$(LDFLAGS)' \
30 -major $(MESA_MAJOR) -minor $(MESA_MINOR) -patch $(MESA_TINY) \
31 -install $(TOP)/$(LIB_DIR) $(MKLIB_OPTIONS) \
32 $(CORE_MESA) $(OBJECTS) $(GL_LIB_DEPS)
33
34
35 clean:
36 -rm -f $(OBJECTS)