1 # src/mesa/drivers/dri/gamma/Makefile
4 include $(TOP
)/configs
/current
8 DEFINES
+= -DGLX_DIRECT_RENDERING
18 OBJECTS
= $(C_SOURCES
:.c
=.o
)
22 -I
$(DRM_SOURCE_PATH
)/shared \
23 -I
$(TOP
)/include/GL
/internal \
25 -I
$(TOP
)/src
/mesa
/main \
26 -I
$(TOP
)/src
/mesa
/glapi \
33 $(CC
) -c
$(INCLUDES
) $(CFLAGS
) $(DEFINES
) $< -o
$@
41 # Run 'make dep' to update the dependencies if you change
42 # what's included by any source file.
43 depend
: $(C_SOURCES
) $(ASM_SOURCES
)
45 $(MKDEP
) $(MKDEP_OPTIONS
) -Y
$(INCLUDES
) \
46 $(C_SOURCES
) $(ASM_SOURCES
) > /dev
/null
2>&1
54 # Remove .o and backup files
56 -rm -f
*.o
*/*.o
*~
*.so
*.a depend depend.bak