projects
/
mesa.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
New Makefile system
[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
pushd
$
$dir
;
\
17
make
;
\
18
popd
;
\
19
fi \
20
done
21
22
23
$(
LIB_DIR
):
24
-
mkdir
$(
LIB_DIR
)
25
26
27
clean
:
28
@for
dir
in
$(
SUBDIRS
) ;
do \
29
if
[ -
d
$
$dir
] ;
then \
30
pushd
$
$dir
;
\
31
make
clean
;
\
32
popd
;
\
33
fi \
34
done