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

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)