source: examples/rate/Makefile @ 0675ea1

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

Fixed termination condition
Changed makefile to allow overriding of the PREFIX that libtrace was
installed into

  • Property mode set to 100644
File size: 391 bytes
RevLine 
[9263981]1
[0675ea1]2PREFIX?=/usr/local
[cf86a61]3CC=gcc
[9263981]4
[10b165c]5INCLUDE = -I$(PREFIX)/include
[9263981]6CFLAGS = -Wall -Wimplicit -Wformat -pipe -g -O2
7CFLAGS += $(INCLUDE)
[10b165c]8libdir = -L$(PREFIX)/lib
[9263981]9LDLIBS = $(libdir) -ltrace
10
[20482800]11BINS = rate rate-dir
[9263981]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.