-
Notifications
You must be signed in to change notification settings - Fork 38
/
Makefile
40 lines (36 loc) · 1001 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# %W% %G% %U%
#
# Copyright (c) 1993, Landon Curt Noll & Larry Bassel.
# All Rights Reserved. Permission for personal, educational or non-profit
# use is granted provided this this copyright and notice are included in its
# entirety and remains unaltered. All other uses must receive prior permission
# in writing from both Landon Curt Noll and Larry Bassel.
SHELL=/bin/sh
all:
@-for i in [12][0-9][0-9]?; do \
if [ -f $$i/[Mm]akefile ]; then \
echo "cd $$i; make all"; \
(cd $$i; make all); \
fi; \
done
clean:
@-for i in [12][0-9][0-9]?; do \
if [ -f $$i/[Mm]akefile ]; then \
echo "cd $$i; make clean"; \
(cd $$i; make clean); \
fi; \
done
clobber:
@-for i in [12][0-9][0-9]?; do \
if [ -f $$i/[Mm]akefile ]; then \
echo "cd $$i; make clobber"; \
(cd $$i; make clobber); \
fi; \
done
install:
@-for i in [12][0-9][0-9]?; do \
if [ -f $$i/[Mm]akefile ]; then \
echo "cd $$i; make install"; \
(cd $$i; make install); \
fi; \
done