projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add silent mode to examples Makefiles
[userspace-rcu.git]
/
doc
/
examples
/
Makefile.examples.template
diff --git
a/doc/examples/Makefile.examples.template
b/doc/examples/Makefile.examples.template
index 6dd2baca623174da315f8b9d2a5b4064e302323a..238a5cc8d45ec85c8512532a8b596b3fb81a5a99 100644
(file)
--- a/
doc/examples/Makefile.examples.template
+++ b/
doc/examples/Makefile.examples.template
@@
-11,19
+11,19
@@
#
# This makefile is purposefully kept simple to support GNU and BSD make.
#
# This makefile is purposefully kept simple to support GNU and BSD make.
-ifdef AM_CC
-CC = $(AM_CC)
-endif
-CFLAGS = -g -O2 -Wall
+LOCAL_CFLAGS := -g -O2 -Wall
+AM_V_P := :
all: $(BINARY)
$(BINARY): $(OBJECTS)
all: $(BINARY)
$(BINARY): $(OBJECTS)
- $(CC) $(CFLAGS) $(LDFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) \
+ @if $(AM_V_P); then set -x; else echo " CCLD $@"; fi; \
+ $(CC) $(LOCAL_CFLAGS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
-o $@ $(OBJECTS) $(LIBS)
$(OBJECTS): $(SOURCES) $(DEPS)
-o $@ $(OBJECTS) $(LIBS)
$(OBJECTS): $(SOURCES) $(DEPS)
- $(CC) $(CPPFLAGS) $(CFLAGS) $(AM_CPPFLAGS) $(AM_CFLAGS) \
+ @if $(AM_V_P); then set -x; else echo " CC $@"; fi; \
+ $(CC) $(LOCAL_CFLAGS) $(AM_CFLAGS) $(CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) \
-c -o $@ $(SOURCES)
.PHONY: clean
-c -o $@ $(SOURCES)
.PHONY: clean
This page took
0.023483 seconds
and
4
git commands to generate.