From 0f539dc1a2f45580435c39dada44dd276e79cb88 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Fri, 22 May 2015 17:54:06 +0200 Subject: Fix the update target and remove duplicate file updates We had updates of certain header files in both Makefile.org and the Makefile in the directory the header file lived in. This is error prone and also sometimes generates slightly different results (usually just a comment that differs) depending on which way the update was done. This removes the file update targets from the top level Makefile, adds an update: target in all Makefiles and has it depend on the depend: or local_depend: targets, whichever is appropriate, so we don't get a double run through the whole file tree. Reviewed-by: Rich Salz --- crypto/rc2/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crypto/rc2') diff --git a/crypto/rc2/Makefile b/crypto/rc2/Makefile index 22e1b49306..b07d3c1039 100644 --- a/crypto/rc2/Makefile +++ b/crypto/rc2/Makefile @@ -45,6 +45,8 @@ tests: lint: lint -DLINT $(INCLUDES) $(SRC)>fluff +update: depend + depend: @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile... $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) -- cgit v1.2.3