summaryrefslogtreecommitdiff
path: root/src/Makefile
blob: a723103830494b7920dbf8f031e1d57655cd5922 (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 = make all
all: $(DIRS)

rev: CMD = make all
rev: $(DIRS_REV)

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

install: CMD = make install
install: $(DIRS)

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