From 3efb24512da5fd8b0f89beceab4397dcd95a3ade Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Thu, 20 Mar 2008 22:19:15 +0000 Subject: [PATCH] Rename rebuild to remake, and define rebuild to "clean; build" --- libraries/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/libraries/Makefile b/libraries/Makefile index c172f88..c854108 100644 --- a/libraries/Makefile +++ b/libraries/Makefile @@ -12,7 +12,7 @@ # # or the following is equivalent: # -# make rebuild.library. +# make remake.library. # # To add a new library to the tree, do # @@ -215,9 +215,13 @@ all: doc endif .PHONY: rebuild.library.% +.PHONY: remake.library.% $(foreach SUBDIR,$(SUBDIRS),rebuild.library.$(SUBDIR)):\ -rebuild.library.%: clean.library.% make.library.% +rebuild.library.%: clean.library.% build.library.% + +$(foreach SUBDIR,$(SUBDIRS),remake.library.$(SUBDIR)):\ +remake.library.%: clean.library.% make.library.% # NB. we're depending on make chasing dependencies from left to right here. # This bit goes wrong with 'make -j'. -- 1.7.10.4