summaryrefslogtreecommitdiff
path: root/src/Makefile
blob: ab9a228234fcacd2c11cc4790dcf5840af1d814f (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)/Makefile.inc

DIRS=minigallium etnaviv driver fb fb_rawshader replay test2d utils

# only needed for reverse engineering/dumping
# this needs a current EGL+OpenGL ES2 driver
# use "make rev"
DIRS_REV=egl

.PHONY: all clean install rev $(DIRS) $(DIRS_REV)

all: CMD = all
all: $(DIRS)

rev: CMD = all
rev: $(DIRS_REV)

$(DIRS) $(DIRS_REV):
	$(MAKE) $(CMD) -C $@

install: CMD = install
install: $(DIRS)

clean: CMD = clean
clean: $(DIRS) $(DIRS_REV)