Allow *_dri.so to build in Mesa tree with the 'linux-dri' target.
[mesa.git] / src / mesa / drivers / dri / Makefile
1 # src/mesa/drivers/dri/Makefile
2
3 TOP = ../../../..
4
5 include $(TOP)/configs/current
6
7
8
9 default: $(LIB_DIR) subdirs
10
11
12 $(LIB_DIR):
13 -mkdir $(LIB_DIR)
14
15
16 subdirs:
17 echo $(DRI_DIRS)
18 @for dir in $(DRI_DIRS) ; do \
19 echo $$dir ; \
20 (cd $$dir ; make) || exit 1; \
21 done
22
23
24 clean:
25 @for dir in $(DRI_DIRS) ; do \
26 (cd $$dir ; make clean) ; \
27 done