diff options
Diffstat (limited to 'src/egl/Makefile')
-rw-r--r-- | src/egl/Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/egl/Makefile b/src/egl/Makefile index 082d762183..5b09e178c6 100644 --- a/src/egl/Makefile +++ b/src/egl/Makefile @@ -1,6 +1,7 @@ # src/egl/Makefile TOP = ../.. +include $(TOP)/configs/current SUBDIRS = main drivers @@ -11,14 +12,20 @@ default: subdirs subdirs: @for dir in $(SUBDIRS) ; do \ if [ -d $$dir ] ; then \ - (cd $$dir ; $(MAKE)) || exit 1 ; \ + (cd $$dir && $(MAKE)) || exit 1 ; \ fi \ done +install: + @for dir in $(SUBDIRS) ; do \ + if [ -d $$dir ] ; then \ + (cd $$dir && $(MAKE) install) || exit 1 ; \ + fi \ + done clean: - @for dir in $(SUBDIRS) ; do \ + -@for dir in $(SUBDIRS) ; do \ if [ -d $$dir ] ; then \ - (cd $$dir ; $(MAKE) clean) ; \ + (cd $$dir && $(MAKE) clean) ; \ fi \ done |