summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/Makefile
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2004-06-01 00:06:14 +0000
committerEric Anholt <anholt@FreeBSD.org>2004-06-01 00:06:14 +0000
commit2fb5d15ce38d8d298c4fbf8c0bb336154a314b13 (patch)
tree51f1626c3f3054216174bba640ecb5425ba80647 /src/mesa/drivers/dri/Makefile
parentc1311d80bd0b2661581bb510c18780d7603cd014 (diff)
Build fixing for FreeBSD. GNU make is installed as gmake, so make a MAKE
variable (defaults to "make") and use that. Use the MKDEP and MKDEP_OPTIONS more. Our shell isn't bash, so change the instances of ">& /dev/null" to a more compatible "> /dev/null 2>&1".
Diffstat (limited to 'src/mesa/drivers/dri/Makefile')
-rw-r--r--src/mesa/drivers/dri/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/Makefile b/src/mesa/drivers/dri/Makefile
index c1af50696c..c4d9a83776 100644
--- a/src/mesa/drivers/dri/Makefile
+++ b/src/mesa/drivers/dri/Makefile
@@ -17,12 +17,12 @@ subdirs:
echo $(DRI_DIRS)
@for dir in $(DRI_DIRS) ; do \
echo $$dir ; \
- (cd $$dir ; make) || exit 1; \
+ (cd $$dir ; $(MAKE)) || exit 1; \
done
clean:
@for dir in $(DRI_DIRS) ; do \
- (cd $$dir ; make clean) ; \
+ (cd $$dir ; $(MAKE) clean) ; \
done
rm common/*.o