summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--engines/Makefile1
-rw-r--r--engines/ccgost/Makefile4
2 files changed, 3 insertions, 2 deletions
diff --git a/engines/Makefile b/engines/Makefile
index 2cfc1aaa3b..2058ff405a 100644
--- a/engines/Makefile
+++ b/engines/Makefile
@@ -148,6 +148,7 @@ lint:
update: local_depend
@if [ -z "$(THIS)" ]; then $(MAKE) -f $(TOP)/Makefile reflect THIS=$@; fi
+ @[ -z "$(THIS)" ] || (set -e; target=update; $(RECURSIVE_MAKE) )
depend: local_depend
@if [ -z "$(THIS)" ]; then $(MAKE) -f $(TOP)/Makefile reflect THIS=$@; fi
diff --git a/engines/ccgost/Makefile b/engines/ccgost/Makefile
index 931c895774..17e1efbdff 100644
--- a/engines/ccgost/Makefile
+++ b/engines/ccgost/Makefile
@@ -67,10 +67,10 @@ links:
tests:
update: local_depend
- @[ -z "$(THIS)" ] && $(MAKE) -f $(TOP)/Makefile reflect THIS=$@
+ @if [ -z "$(THIS)" ]; then $(MAKE) -f $(TOP)/Makefile reflect THIS=$@; fi
depend: local_depend
- @[ -z "$(THIS)" ] && $(MAKE) -f $(TOP)/Makefile reflect THIS=$@
+ @if [ -z "$(THIS)" ]; then $(MAKE) -f $(TOP)/Makefile reflect THIS=$@; fi
local_depend:
@[ -z "$(THIS)" ] || $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)