forked from wdlkmpx/unace1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
74 lines (55 loc) · 1.58 KB
/
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
SUBDIRS = src
DISTCLEAN_FILES =
# ===========================================================
include config.mk
DISTCLEAN_FILES += config.h config.mk config.log config.sh
MAKEFLAGS += --no-print-directory
all:
@for dir in ${SUBDIRS} ; do \
echo "$(MAKE): Entering directory [$${dir}]"; \
$(MAKE) -C $${dir} $@ || exit 1; \
echo "$(MAKE): Leaving directory [$${dir}]"; \
done
strip:
@for dir in ${SUBDIRS} ; do \
echo "$(MAKE): Entering directory [$${dir}]"; \
$(MAKE) -C $${dir} $@ || exit 1; \
echo "$(MAKE): Leaving directory [$${dir}]"; \
done
clean:
@for dir in ${SUBDIRS} ; do \
echo "$(MAKE): Entering directory [$${dir}]"; \
$(MAKE) -C $${dir} $@ || exit 1; \
echo "$(MAKE): Leaving directory [$${dir}]"; \
done
distclean:
@for dir in ${SUBDIRS} ; do \
echo "$(MAKE): Entering directory [$${dir}]"; \
$(MAKE) -C $${dir} $@ || exit 1; \
echo "$(MAKE): Leaving directory [$${dir}]"; \
done
-rm -f $(DISTCLEAN_FILES)
install:
@for dir in ${SUBDIRS} ; do \
echo "$(MAKE): Entering directory [$${dir}]"; \
$(MAKE) -C $${dir} $@ || exit 1; \
echo "$(MAKE): Leaving directory [$${dir}]"; \
done
install-strip:
@for dir in ${SUBDIRS} ; do \
echo "$(MAKE): Entering directory [$${dir}]"; \
$(MAKE) -C $${dir} $@ || exit 1; \
echo "$(MAKE): Leaving directory [$${dir}]"; \
done
uninstall:
@for dir in ${SUBDIRS} ; do \
echo "$(MAKE): Entering directory [$${dir}]"; \
$(MAKE) -C $${dir} $@ || exit 1; \
echo "$(MAKE): Leaving directory [$${dir}]"; \
done
check:
distcheck:
installcheck:
dist:
sh configure release dist
.PHONY: subdirs $(SUBDIRS)