4.0.1-hotfixescachetimestampsdevelopdpdk-ndagetsilivegetfragoffhelplibtrace4ndag_formatpfringrc-4.0.1rc-4.0.2rc-4.0.3rc-4.0.4ringdecrementfixringperformanceringtimestampfixes
Last change
on this file since 045c984 was
045c984,
checked in by Shane Alcock <salcock@…>, 15 years ago
|
Added a simple demonstration of using libtrace to write traces to the examples
directory
|
-
Property mode set to
100644
|
File size:
386 bytes
|
Rev | Line | |
---|
[045c984] | 1 | |
---|
| 2 | PREFIX=/usr/local/ |
---|
| 3 | CC=gcc |
---|
| 4 | |
---|
| 5 | INCLUDE = -I$(PREFIX)/include |
---|
| 6 | CFLAGS = -Wall -Wimplicit -Wformat -pipe -g -O2 |
---|
| 7 | CFLAGS += $(INCLUDE) |
---|
| 8 | LDFLAGS = -L$(PREFIX)/lib |
---|
| 9 | LDLIBS = -ltrace |
---|
| 10 | |
---|
| 11 | BINS = output_example |
---|
| 12 | .PHONY: all clean distclean install depend |
---|
| 13 | |
---|
| 14 | all: $(BINS) |
---|
| 15 | |
---|
| 16 | clean: |
---|
| 17 | $(RM) *~ *.o $(BINS) $(OBJS) core |
---|
| 18 | |
---|
| 19 | distclean: |
---|
| 20 | $(RM) *~ *.o $(BINS) $(OBJS) core |
---|
| 21 | |
---|
| 22 | install: |
---|
| 23 | @true |
---|
| 24 | |
---|
| 25 | |
---|
| 26 | # vim: noet ts=8 sw=8 |
---|
Note: See
TracBrowser
for help on using the repository browser.