summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/Makefile
blob: da044036ffb25f368804c82ac573aaa2ef118781 (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
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 llvm i915simple i965simple 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]`