projects
/
henge
/
apc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
be77d26
)
cleanup
author
ken
<ken@mihrtec.com>
Fri, 16 Dec 2016 20:33:13 +0000
(12:33 -0800)
committer
ken
<ken@mihrtec.com>
Fri, 16 Dec 2016 20:33:13 +0000
(12:33 -0800)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
20c74d6
..
6076653
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-58,8
+58,12
@@
endif
# expansion:
# If we are cleaning, stop. Else print the result of calling '1'. Then, unless
# we are in -n mode, invoke the result of calling '1' in the shell
# expansion:
# If we are cleaning, stop. Else print the result of calling '1'. Then, unless
# we are in -n mode, invoke the result of calling '1' in the shell
-$(if $(filter clean,$(MAKECMDGOALS)),,$(eval S2S += $$(info $$(call $$1,$$2,$$3)))\
-$(if $(filter n,$(MAKEFLAGS)),,$(eval S2S += $$(shell $$(call $$1,$$2,$$3)))))
+ifeq (,$(filter clean,$(MAKECMDGOALS)))
+S2S = $(info $(call $1,$2,$3))
+ifeq (,$(filter n,$(MAKEFLAGS)))
+S2S += $(shell $(call $1,$2,$3))
+endif
+endif
# Rules
.SECONDEXPANSION:
# Rules
.SECONDEXPANSION: