projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: Don't override user variables within the build system
[lttng-ust.git]
/
doc
/
examples
/
demo-tracelog
/
Makefile
diff --git
a/doc/examples/demo-tracelog/Makefile
b/doc/examples/demo-tracelog/Makefile
index cc6843a88a6c63f453cac4acf8696d3afeb55f63..a16d6c5237d3a05f37fea8c00dc104b90ea8a513 100644
(file)
--- a/
doc/examples/demo-tracelog/Makefile
+++ b/
doc/examples/demo-tracelog/Makefile
@@
-15,10
+15,6
@@
#
# 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
-
LIBS = -ldl -llttng-ust # On Linux
#LIBS = -lc # On BSD
LOCAL_CPPFLAGS += -I.
LIBS = -ldl -llttng-ust # On Linux
#LIBS = -lc # On BSD
LOCAL_CPPFLAGS += -I.
@@
-26,11
+22,11
@@
LOCAL_CPPFLAGS += -I.
all: demo-tracelog
demo-tracelog.o: demo-tracelog.c
all: demo-tracelog
demo-tracelog.o: demo-tracelog.c
- $(CC) $(CPPFLAGS) $(LOCAL_CPPFLAGS) $(CFLAGS) $(AM_CPPFLAGS) \
- $(
AM_
CFLAGS) -c -o $@ $<
+ $(CC) $(CPPFLAGS) $(LOCAL_CPPFLAGS) $(
AM_
CFLAGS) $(AM_CPPFLAGS) \
+ $(CFLAGS) -c -o $@ $<
demo-tracelog: demo-tracelog.o
demo-tracelog: demo-tracelog.o
- $(CC) $(LDFLAGS) $(
CFLAGS) $(AM_LDFLAGS) $(AM_
CFLAGS) \
+ $(CC) $(LDFLAGS) $(
AM_CFLAGS) $(AM_LDFLAGS) $(
CFLAGS) \
-o $@ $< $(LIBS)
.PHONY: clean
-o $@ $< $(LIBS)
.PHONY: clean
This page took
0.022968 seconds
and
4
git commands to generate.