summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/common/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/winsys/common/Makefile')
-rw-r--r--src/gallium/winsys/common/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/gallium/winsys/common/Makefile b/src/gallium/winsys/common/Makefile
new file mode 100644
index 00000000000..4c0f3545a53
--- /dev/null
+++ b/src/gallium/winsys/common/Makefile
@@ -0,0 +1,20 @@
+TOP = ../../../..
+include $(TOP)/configs/current
+
+
+SUBDIRS = $(GALLIUM_WINSYS_COMMON_DIRS)
+
+
+default: subdirs
+
+
+subdirs:
+ @for dir in $(SUBDIRS) ; do \
+ if [ -d $$dir ] ; then \
+ (cd $$dir && $(MAKE)) || exit 1 ; \
+ fi \
+ done
+
+
+clean:
+ rm -f `find . -name \*.[oa]`