projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
doc: update examples to API changes
[urcu.git]
/
doc
/
examples
/
Makefile.examples.template
diff --git
a/doc/examples/Makefile.examples.template
b/doc/examples/Makefile.examples.template
index cb0275dd0500d55ce318a22e2db9b43411a42e86..4b2378ea7b01e9d5d13baa0d156961255360d7f4 100644
(file)
--- a/
doc/examples/Makefile.examples.template
+++ b/
doc/examples/Makefile.examples.template
@@
-11,18
+11,16
@@
#
# This makefile is purposefully kept simple to support GNU and BSD make.
#
# This makefile is purposefully kept simple to support GNU and BSD make.
-CC = gcc
-LIBS = -lurcu
-CFLAGS = -g -O2 -Wall
+LOCAL_CFLAGS := -g -O2 -Wall
all: $(BINARY)
$(BINARY): $(OBJECTS)
all: $(BINARY)
$(BINARY): $(OBJECTS)
- $(CC) $(
CFLAGS) $(LDFLAGS) $(AM_CFLAGS) $(AM_
LDFLAGS) \
-
$(LIBS) -o $@ $(OBJECT
S)
+ $(CC) $(
LOCAL_CFLAGS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(
LDFLAGS) \
+
-o $@ $(OBJECTS) $(LIB
S)
-$(OBJECTS): $(SOURCES)
- $(CC) $(
CPPFLAGS) $(CFLAGS) $(AM_CPPFLAGS) $(AM_C
FLAGS) \
+$(OBJECTS): $(SOURCES)
$(DEPS)
+ $(CC) $(
LOCAL_CFLAGS) $(AM_CFLAGS) $(CFLAGS) $(AM_CPPFLAGS) $(CPP
FLAGS) \
-c -o $@ $(SOURCES)
.PHONY: clean
-c -o $@ $(SOURCES)
.PHONY: clean
This page took
0.02634 seconds
and
4
git commands to generate.