summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/Makefile
blob: 2b03b5c2446ff6087926a1ca22a8fd33e4cf4cd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
TOP = ../../..
include $(TOP)/configs/current


ifeq ($(CONFIG_NAME), linux-cell)
CELL_DIR = cell
endif

ifeq ($(CONFIG_NAME), linux-llvm)
LLVM_DIR = llvm
endif

SUBDIRS = softpipe i915simple i965simple nv30 nv40 nv50 failover pipebuffer \
	  $(CELL_DIR) $(LLVM_DIR)


default: subdirs


subdirs:
	@for dir in $(SUBDIRS) ; do \
		if [ -d $$dir ] ; then \
			(cd $$dir && $(MAKE)) || exit 1 ; \
		fi \
	done


clean:
	rm -f `find . -name \*.[oa]`