projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove glibc < 2.4 compat code for sched_setaffinity
[urcu.git]
/
doc
/
examples
/
Makefile.examples.template
diff --git
a/doc/examples/Makefile.examples.template
b/doc/examples/Makefile.examples.template
index 4a0379ad88e82bbf3165e12a8c030743f45c0feb..e6196f53104f37796a03fd83320541a436710b32 100644
(file)
--- a/
doc/examples/Makefile.examples.template
+++ b/
doc/examples/Makefile.examples.template
@@
-11,19
+11,21
@@
#
# This makefile is purposefully kept simple to support GNU and BSD make.
#
# This makefile is purposefully kept simple to support GNU and BSD make.
-ifndef CC
-CC = gcc
-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) \
+ @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)
-o $@ $(OBJECTS) $(LIBS)
$(OBJECTS): $(SOURCES) $(DEPS)
- $(CC) $(CPPFLAGS) $(CFLAGS) $(AM_CPPFLAGS) $(AM_CFLAGS) \
+ @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)
.PHONY: clean
-c -o $@ $(SOURCES)
.PHONY: clean
This page took
0.025286 seconds
and
4
git commands to generate.