Generalise 'all' rule to arbitrary prerequisite sub-directories.
This commit is contained in:
		| @@ -1,3 +1,10 @@ | ||||
| 2012-01-15  Keith Marshall  <keithmarshall@users.sf.net> | ||||
|  | ||||
| 	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  <keithmarshall@users.sf.net> | ||||
|  | ||||
| 	Derive package release index from configure time specification. | ||||
|   | ||||
| @@ -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: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user