summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/drm/nouveau
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2009-02-20 00:50:26 +0100
committerJakob Bornecrantz <[email protected]>2009-02-20 11:25:55 +0000
commitfffadc219f3900a5b0405a9fddbc289873ea0842 (patch)
tree29f5833c3d96f97daf31fcaabe29731be86e9ba9 /src/gallium/winsys/drm/nouveau
parent3eebd24cb6202171ee00506bb3fc71ac7dcc4cb8 (diff)
gallium: Improve recursive makefiles
Diffstat (limited to 'src/gallium/winsys/drm/nouveau')
-rw-r--r--src/gallium/winsys/drm/nouveau/Makefile19
1 files changed, 3 insertions, 16 deletions
diff --git a/src/gallium/winsys/drm/nouveau/Makefile b/src/gallium/winsys/drm/nouveau/Makefile
index b5735329ec7..652cf7146cb 100644
--- a/src/gallium/winsys/drm/nouveau/Makefile
+++ b/src/gallium/winsys/drm/nouveau/Makefile
@@ -1,25 +1,12 @@
+# src/gallium/winsys/drm/nouveau/Makefile
TOP = ../../../../..
include $(TOP)/configs/current
-
SUBDIRS = common dri
-
-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: