… | |
… | |
28 | first_rule: all |
28 | first_rule: all |
29 | dummy: |
29 | dummy: |
30 | |
30 | |
31 | subdirs = src doc |
31 | subdirs = src doc |
32 | |
32 | |
|
|
33 | RECURSIVE_TARGETS = all allbin alldoc tags clean distclean realclean install |
|
|
34 | |
33 | #------------------------------------------------------------------------- |
35 | #------------------------------------------------------------------------- |
34 | |
36 | |
35 | all allbin alldoc tags: |
37 | $(RECURSIVE_TARGETS): |
36 | @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done |
38 | @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done |
37 | |
39 | |
38 | distclean realclean: distclean-local |
40 | distclean realclean: distclean-local |
39 | |
|
|
40 | clean distclean realclean: |
|
|
41 | @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done |
|
|
42 | |
41 | |
43 | # |
42 | # |
44 | # entry points for other programs |
43 | # entry points for other programs |
45 | # |
44 | # |
46 | rxvt: |
45 | rxvt: |
… | |
… | |
54 | if test -x config.status; then config.status --recheck; \ |
53 | if test -x config.status; then config.status --recheck; \ |
55 | else $(SHELL) configure; fi |
54 | else $(SHELL) configure; fi |
56 | |
55 | |
57 | config.h.in: configure.ac |
56 | config.h.in: configure.ac |
58 | cd $(srcdir); ./autogen.sh |
57 | cd $(srcdir); ./autogen.sh |
59 | |
|
|
60 | install: |
|
|
61 | @for I in $(subdirs); do (cd $$I; $(MAKE) DESTDIR=$(DESTDIR) $@) || exit 1; done |
|
|
62 | |
58 | |
63 | check: all |
59 | check: all |
64 | echo "no tests" |
60 | echo "no tests" |
65 | |
61 | |
66 | Makefiles: |
62 | Makefiles: |