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]
/
progs
/
Makefile
1
# progs/Makefile
2
3
TOP
=
..
4
5
include
$(
TOP
)/
configs
/
current
6
7
SUBDIRS
= $(
PROGRAM_DIRS
)
8
9
10
default
: $(
TOP
)/
configs
/
current
11
@for
dir
in
$(
SUBDIRS
) ;
do \
12
if
[ -
d
$
$dir
] ;
then \
13
pushd
$
$dir
;
\
14
make
;
\
15
popd
;
\
16
fi \
17
done
18
19
20
clean
:
21
@for
dir
in
$(
SUBDIRS
) ;
do \
22
if
[ -
d
$
$dir
] ;
then \
23
pushd
$
$dir
;
\
24
make
clean
;
\
25
popd
;
\
26
fi \
27
done