/make/edam-mk

To get this branch, use:
bzr branch http://bzr.ed.am/make/edam-mk

« back to all changes in this revision

Viewing changes to edam.mk

  • Committer: edam
  • Date: 2010-02-08 19:36:44 UTC
  • Revision ID: edam@waxworlds.org-20100208193644-hdddr0bl0y42jib7
Tags: 3.4
- changed name of makefile used in subdirs to emake.mk

Show diffs side-by-side

added added

removed removed

Lines of Context:
86
86
#
87
87
# SUBDIRS      A list of subdirectories to build before attempting to build the
88
88
#              target. These subdirectories are also included in a clean_all.
89
 
#              Note that if the file 'subdir.mk' exists in a subdirectory, it
 
89
#              Note that if the file 'emake.mk' exists in a subdirectory, it
90
90
#              will be used explicitly, rather than any default makefile.
91
91
#
92
92
# SUBPROJS     A list of the names of other makefiles to run before attempting
256
256
$(SUBDIRS) $(SUBPROJS):
257
257
        @if [ "$@" = "$(firstword $(SUBDIRS) $(SUBPROJS))" ]; then echo; fi
258
258
        @$(MAKE) $(if $(filter $@,$(SUBPROJS)), -f $@.mk, \
259
 
                -C $@ $(if $(wildcard $@/subdir.mk),-f subdir.mk,)) \
 
259
                -C $@ $(if $(wildcard $@/emake.mk),-f emake.mk,)) \
260
260
                $(filter-out $(SUBDIRS) $(SUBPROJS) subdirs subprojs,$(MAKECMDGOALS))
261
261
        @echo
262
262