2005-04-22 22:09:39 +01:00
|
|
|
# src/egl/Makefile
|
|
|
|
|
|
|
|
TOP = ../..
|
2009-02-11 10:31:05 +00:00
|
|
|
include $(TOP)/configs/current
|
2005-04-22 22:09:39 +01:00
|
|
|
|
2008-06-05 21:11:54 +01:00
|
|
|
SUBDIRS = main drivers
|
2005-04-22 22:09:39 +01:00
|
|
|
|
|
|
|
|
|
|
|
default: subdirs
|
|
|
|
|
|
|
|
|
|
|
|
subdirs:
|
|
|
|
@for dir in $(SUBDIRS) ; do \
|
|
|
|
if [ -d $$dir ] ; then \
|
2008-05-06 20:29:53 +01:00
|
|
|
(cd $$dir && $(MAKE)) || exit 1 ; \
|
2005-04-22 22:09:39 +01:00
|
|
|
fi \
|
|
|
|
done
|
|
|
|
|
2009-02-11 10:31:05 +00:00
|
|
|
install:
|
|
|
|
@for dir in $(SUBDIRS) ; do \
|
|
|
|
if [ -d $$dir ] ; then \
|
|
|
|
(cd $$dir && $(MAKE) install) || exit 1 ; \
|
|
|
|
fi \
|
|
|
|
done
|
2005-04-22 22:09:39 +01:00
|
|
|
|
|
|
|
clean:
|
2008-05-07 19:35:23 +01:00
|
|
|
-@for dir in $(SUBDIRS) ; do \
|
2005-04-22 22:09:39 +01:00
|
|
|
if [ -d $$dir ] ; then \
|
2008-05-06 20:29:53 +01:00
|
|
|
(cd $$dir && $(MAKE) clean) ; \
|
2005-04-22 22:09:39 +01:00
|
|
|
fi \
|
|
|
|
done
|