From 3ef75004369383aadfa4801d2b453a61883fa6a0 Mon Sep 17 00:00:00 2001 From: Keith Marshall Date: Sun, 15 Jan 2012 12:27:13 +0000 Subject: Generalise 'all' rule to arbitrary prerequisite sub-directories. --- winsup/w32api/ChangeLog | 7 +++++++ winsup/w32api/Makefile.in | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) (limited to 'winsup/w32api') diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index 5ed162475..6e879e3c8 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,3 +1,10 @@ +2012-01-15 Keith Marshall + + Generalise 'all' rule to arbitrary prerequisite sub-directories. + + * Makefile.in: (all): Make it depend on all $(SUBDIRS), not just on... + (lib): ...this; replace it with a generic $(SUBDIRS) goal. + 2012-01-15 Keith Marshall Derive package release index from configure time specification. diff --git a/winsup/w32api/Makefile.in b/winsup/w32api/Makefile.in index 68b57a083..39892c8e6 100644 --- a/winsup/w32api/Makefile.in +++ b/winsup/w32api/Makefile.in @@ -33,14 +33,14 @@ DISTFILES = \ ChangeLog configure.ac Makefile.in Makefile.comm.in configure \ config.guess config.sub install-sh README.w32api TODO CONTRIBUTIONS -all: lib +all: $(SUBDIRS) %-subdirs: for i in $(SUBDIRS); do \ $(MAKE) -C $$i $*; \ done -lib: +$(SUBDIRS): $(MAKE) -C $@ test: -- cgit v1.2.3