gallium: Update the drm_api.
[mesa.git] / src / gallium / winsys / drm / intel / Makefile
index 78773b8d1b05dd677c9e3895de788e88e661fc23..d8feef6824adb967bb40499e6621bcb8e8ce4e96 100644 (file)
@@ -1,27 +1,12 @@
+# src/gallium/winsys/drm/intel/Makefile
 TOP = ../../../../..
 include $(TOP)/configs/current
 
-
-# Always build gem and then build winsys with
-# enabled state trackers
 SUBDIRS = gem $(GALLIUM_STATE_TRACKERS_DIRS)
 
-
-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: