scons: Fix SCons build infrastructure for FreeBSD.
[mesa.git] / src / gallium / winsys / Makefile
index 2360a6a94a1efe5db0450e653f90a9a0cad46328..bce5b3f9e0d1a3724aeebec48c6af2f4f4825309 100644 (file)
@@ -1,24 +1,12 @@
+# src/gallium/winsys/Makefile
 TOP = ../../..
 include $(TOP)/configs/current
 
-
 SUBDIRS = $(GALLIUM_WINSYS_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]`
-
-
-# Dummy install target
-install: