projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: x86 and s390: uatomic __hp() macro C++ support
[userspace-rcu.git]
/
doc
/
examples
/
Makefile.examples.template
diff --git
a/doc/examples/Makefile.examples.template
b/doc/examples/Makefile.examples.template
index 238a5cc8d45ec85c8512532a8b596b3fb81a5a99..e6196f53104f37796a03fd83320541a436710b32 100644
(file)
--- a/
doc/examples/Makefile.examples.template
+++ b/
doc/examples/Makefile.examples.template
@@
-17,12
+17,14
@@
AM_V_P := :
all: $(BINARY)
$(BINARY): $(OBJECTS)
all: $(BINARY)
$(BINARY): $(OBJECTS)
- @if $(AM_V_P); then set -x; else echo " CCLD $@"; fi; \
+ @verbose="$(AM_V_P)"; if [ "x$$verbose" = "x" ]; then verbose=":"; fi; \
+ if $$verbose; then set -x; else echo " CCLD $@"; fi; \
$(CC) $(LOCAL_CFLAGS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
-o $@ $(OBJECTS) $(LIBS)
$(OBJECTS): $(SOURCES) $(DEPS)
$(CC) $(LOCAL_CFLAGS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
-o $@ $(OBJECTS) $(LIBS)
$(OBJECTS): $(SOURCES) $(DEPS)
- @if $(AM_V_P); then set -x; else echo " CC $@"; fi; \
+ @verbose="$(AM_V_P)"; if [ "x$$verbose" = "x" ]; then verbose=":"; fi; \
+ if $$verbose; then set -x; else echo " CC $@"; fi; \
$(CC) $(LOCAL_CFLAGS) $(AM_CFLAGS) $(CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) \
-c -o $@ $(SOURCES)
$(CC) $(LOCAL_CFLAGS) $(AM_CFLAGS) $(CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) \
-c -o $@ $(SOURCES)
This page took
0.02295 seconds
and
4
git commands to generate.