source: examples/event/Makefile @ bc4c11e

4.0.1-hotfixescachetimestampsdevelopdpdk-ndagetsilivegetfragoffhelplibtrace4ndag_formatpfringrc-4.0.1rc-4.0.2rc-4.0.3rc-4.0.4ringdecrementfixringperformanceringtimestampfixes
Last change on this file since bc4c11e was 5eeba76, checked in by Shane Alcock <salcock@…>, 15 years ago

Fixed memory leak in trace_event_trace
Wrote an example using the event framework
Removed old event examples
Updated format_pcapfile to use libtrace_direction_t
erf_read_packet now checks that malloc()ing a buffer actually succeeds

  • Property mode set to 100644
File size: 385 bytes
Line 
1
2PREFIX=/usr/local/
3CC=gcc
4
5INCLUDE = -I$(PREFIX)/include
6CFLAGS  = -Wall -Wimplicit -Wformat -pipe -g -O2
7CFLAGS  += $(INCLUDE)
8LDFLAGS = -L$(PREFIX)/lib
9LDLIBS  = -ltrace
10
11BINS = event_example
12.PHONY: all clean distclean install depend
13
14all: $(BINS) 
15
16clean:
17        $(RM) *~ *.o $(BINS) $(OBJS) core
18
19distclean:
20        $(RM) *~ *.o $(BINS) $(OBJS) core
21
22install:
23        @true
24
25
26# vim: noet ts=8 sw=8
Note: See TracBrowser for help on using the repository browser.