1 # progs/gallium/simple/Makefile
4 include $(TOP
)/configs
/current
8 -I
$(TOP
)/src
/gallium
/include \
9 -I
$(TOP
)/src
/gallium
/auxiliary \
10 -I
$(TOP
)/src
/gallium
/drivers \
11 -I
$(TOP
)/src
/gallium
/winsys \
15 $(TOP
)/src
/gallium
/drivers
/trace
/libtrace.a \
16 $(TOP
)/src
/gallium
/winsys
/sw
/null
/libws_null.a \
17 $(TOP
)/src
/gallium
/drivers
/softpipe
/libsoftpipe.a \
18 $(GALLIUM_AUXILIARIES
) \
25 OBJECTS
= $(SOURCES
:.c
=.o
)
27 PROGS
= $(OBJECTS
:.o
=)
41 $(CC
) -c
$(INCLUDES
) $(CFLAGS
) $(DEFINES
) $(PROG_DEFINES
) $< -o
$@
43 $(PROGS
): %: %.o
$(LINKS
)
44 $(CC
) $(LDFLAGS
) $< $(LINKS
) -lm
-lpthread
-ldl
-o
$@