i915g: Fix warning
[mesa.git] / src / egl / Makefile
1 # src/egl/Makefile
2
3 TOP = ../..
4 include $(TOP)/configs/current
5
6 SUBDIRS = drivers main
7
8 ifneq ($(findstring wayland, $(EGL_PLATFORMS)),)
9 SUBDIRS += wayland
10 endif
11
12
13 default: subdirs
14
15
16 subdirs:
17 @for dir in $(SUBDIRS) ; do \
18 if [ -d $$dir ] ; then \
19 (cd $$dir && $(MAKE)) || exit 1 ; \
20 fi \
21 done
22
23 install:
24 @for dir in $(SUBDIRS) ; do \
25 if [ -d $$dir ] ; then \
26 (cd $$dir && $(MAKE) install) || exit 1 ; \
27 fi \
28 done
29
30 clean:
31 -@for dir in $(SUBDIRS) ; do \
32 if [ -d $$dir ] ; then \
33 (cd $$dir && $(MAKE) clean) ; \
34 fi \
35 done