source: test/Makefile @ 1b4901a

4.0.1-hotfixescachetimestampsdevelopdpdk-ndagetsilivegetfragoffhelplibtrace4ndag_formatpfringrc-4.0.1rc-4.0.2rc-4.0.3rc-4.0.4ringdecrementfixringperformanceringtimestampfixes
Last change on this file since 1b4901a was 1b4901a, checked in by Perry Lorier <perry@…>, 15 years ago

Added more tests

  • Property mode set to 100644
File size: 646 bytes
Line 
1
2PREFIX=../
3CC=gcc
4
5INCLUDE = -I$(PREFIX)/lib
6CFLAGS = -Wall -Wimplicit -Wformat -pipe -g -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
7CFLAGS += $(INCLUDE)
8libdir = $(PREFIX)/lib/.libs
9LDLIBS = -L$(libdir) -ltrace
10
11BINS = test1 test2 test-pcap test-pcap-bpf test-erf-write test-erf-to-pcap \
12        test-pcap-to-erf test-wtf
13.PHONY: all clean distclean install depend test
14
15all: $(BINS) 
16
17test: all
18        for i in $(BINS); do                                    \
19                echo \* $$i;                                    \
20                LD_LIBRARY_PATH=$(libdir)                       \
21                 ./$$i || exit $$?;                             \
22        done                           
23 
24clean:
25        $(RM) $(BINS) $(OBJS) 
26
27distclean:
28        $(RM) $(BINS) $(OBJS) 
29
30install:
31        @true
32
33
34# vim: noet ts=8 sw=8
Note: See TracBrowser for help on using the repository browser.