texenvprogram: fix for ARB_draw_buffers.
[mesa.git] / src / gallium / winsys / drm / intel / Makefile
index a670ac044d0115000e80df01efc03be8699bb9cc..d8feef6824adb967bb40499e6621bcb8e8ce4e96 100644 (file)
@@ -1,25 +1,12 @@
+# src/gallium/winsys/drm/intel/Makefile
 TOP = ../../../../..
 include $(TOP)/configs/current
 
+SUBDIRS = gem $(GALLIUM_STATE_TRACKERS_DIRS)
 
-SUBDIRS = common dri egl
-
-
-default: subdirs
-
-
-subdirs:
+default install clean:
        @for dir in $(SUBDIRS) ; do \
                if [ -d $$dir ] ; then \
-                       (cd $$dir && $(MAKE)) || exit 1 ; \
+                       (cd $$dir && $(MAKE) $@) || exit 1; \
                fi \
        done
-
-
-clean:
-       rm -f `find . -name \*.[oa]`
-       rm -f `find . -name depend`
-
-
-# Dummy install target
-install: