projects
/
profile
/
ivi
/
mesa.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Don't use pushd/popd.
[profile/ivi/mesa.git]
/
src
/
Makefile
1
# src/Makefile
2
3
TOP = ..
4
5
include $(TOP)/configs/current
6
7
SUBDIRS = $(SRC_DIRS)
8
9
10
default: $(LIB_DIR) subdirs
11
12
13
subdirs:
14
@for dir in $(SUBDIRS) ; do \
15
if [ -d $$dir ] ; then \
16
(cd $$dir ; make) ; \
17
fi \
18
done
19
20
21
$(LIB_DIR):
22
-mkdir $(LIB_DIR)
23
24
25
clean:
26
@for dir in $(SUBDIRS) ; do \
27
if [ -d $$dir ] ; then \
28
(cd $$dir ; make clean) ; \
29
fi \
30
done