From 1e7b6c029c829f010997c2bca59b40ccebb192a7 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Fri, 20 Oct 2006 11:23:35 +0000 Subject: [PATCH] Avoid application relink on every make invocation. --- engines/Makefile | 4 ++-- engines/ccgost/Makefile | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/engines/Makefile b/engines/Makefile index 9bd9f42ff4..f9bd86ec99 100644 --- a/engines/Makefile +++ b/engines/Makefile @@ -65,9 +65,9 @@ ALL= $(GENERAL) $(SRC) $(HEADER) top: (cd ..; $(MAKE) DIRS=$(DIR) all) -all: lib +all: lib subdirs -lib: $(LIBOBJ) subdirs +lib: $(LIBOBJ) @if [ -n "$(SHARED_LIBS)" ]; then \ set -e; \ for l in $(LIBNAMES); do \ diff --git a/engines/ccgost/Makefile b/engines/ccgost/Makefile index 0c3750bb8c..abd931a0c4 100644 --- a/engines/ccgost/Makefile +++ b/engines/ccgost/Makefile @@ -37,6 +37,7 @@ lib: $(LIBOBJ) else \ $(AR) $(LIB) $(LIBOBJ); \ fi + @touch lib install: [ -n "$(INSTALLTOP)" ] # should be set by top Makefile... -- 2.25.1