2010-04-01 07:12:01 +02:00
|
|
|
# We want the all target to be the implicit target (if no target is
|
|
|
|
# given explicitly on the command line) so mention it first.
|
|
|
|
all:
|
2009-12-01 17:34:09 +01:00
|
|
|
|
2010-04-01 07:12:01 +02:00
|
|
|
# List all subdirectories here. Each contains its own Makefile.local
|
2010-03-10 19:59:57 +01:00
|
|
|
subdirs = compat emacs lib
|
|
|
|
|
2010-04-01 07:12:01 +02:00
|
|
|
# We make all targets depend on the Makefiles themselves.
|
|
|
|
global_deps = Makefile Makefile.local \
|
2010-03-10 19:59:57 +01:00
|
|
|
$(subdirs:%=%/Makefile) $(subdirs:%=%/Makefile.local)
|
2009-11-17 22:05:16 +01:00
|
|
|
|
2010-04-01 07:12:01 +02:00
|
|
|
# Finally, include all of the Makefile.local fragments where all the
|
|
|
|
# real work is done.
|
|
|
|
include Makefile.local $(subdirs:%=%/Makefile.local)
|