From: Ian Lynagh Date: Thu, 20 Mar 2008 22:19:15 +0000 (+0000) Subject: Rename rebuild to remake, and define rebuild to "clean; build" X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=3efb24512da5fd8b0f89beceab4397dcd95a3ade Rename rebuild to remake, and define rebuild to "clean; build" --- 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'.