summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/Makefile
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-06-06 12:09:55 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-06-06 12:09:55 -0600
commit04c6ca99dd194aac085c81044f876c17cd27baee (patch)
tree609abb1a6b5e4f1c91821d62ac4358bbdcdfa618 /src/mesa/drivers/Makefile
parentc9739b20555847c398e7b52fb0e580d86f958430 (diff)
new drivers/Makefile with simple default/clean/install rules
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 0000000000..c5998413e8
--- /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
+