grub2: bring back build of aros-side grub2 tools
[AROS.git] / workbench / libs / mesa / src / egl / Makefile
blob361f6889580a2a781de19ec37bd9e747e8cf45cf
1 # src/egl/Makefile
3 TOP = ../..
4 include $(TOP)/configs/current
6 SUBDIRS =
8 ifneq ($(findstring wayland, $(EGL_PLATFORMS)),)
9 SUBDIRS += wayland
10 endif
12 SUBDIRS += drivers main
14 default: subdirs
17 subdirs:
18 @for dir in $(SUBDIRS) ; do \
19 if [ -d $$dir ] ; then \
20 (cd $$dir && $(MAKE)) || exit 1 ; \
21 fi \
22 done
24 install:
25 @for dir in $(SUBDIRS) ; do \
26 if [ -d $$dir ] ; then \
27 (cd $$dir && $(MAKE) install) || exit 1 ; \
28 fi \
29 done
31 clean:
32 -@for dir in $(SUBDIRS) ; do \
33 if [ -d $$dir ] ; then \
34 (cd $$dir && $(MAKE) clean) ; \
35 fi \
36 done