summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/Makefile
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-06-06 12:32:58 -0600
committerBrian Paul <[email protected]>2008-06-06 12:33:40 -0600
commit53076e8b5bce9ddf6eb524b8009db67eb5d3389b (patch)
tree76b39ce72140b1f83a7386931ce91126be8fbf4d /src/mesa/drivers/Makefile
parent463a47bf59398e850d5a6537da1186d855bd2919 (diff)
mesa: sync up with latest Makefile changes on master
Diffstat (limited to 'src/mesa/drivers/Makefile')
-rw-r--r--src/mesa/drivers/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/mesa/drivers/Makefile b/src/mesa/drivers/Makefile
new file mode 100644
index 00000000000..c5998413e86
--- /dev/null
+++ b/src/mesa/drivers/Makefile
@@ -0,0 +1,29 @@
+# src/mesa/drivers/Makefile
+
+TOP = ../../..
+include $(TOP)/configs/current
+
+
+default:
+ @for dir in $(DRIVER_DIRS) ; do \
+ if [ -d $$dir ] ; then \
+ (cd $$dir && $(MAKE)) || exit 1; \
+ fi \
+ done
+
+
+clean:
+ @for dir in $(DRIVER_DIRS) ; do \
+ if [ -d $$dir ] ; then \
+ (cd $$dir && $(MAKE) clean) || exit 1; \
+ fi \
+ done
+
+
+install:
+ @for dir in $(DRIVER_DIRS) ; do \
+ if [ -d $$dir ] ; then \
+ (cd $$dir && $(MAKE) install) || exit 1; \
+ fi \
+ done
+