source: test/Makefile @ 5b91b48

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

Added more test cases

  • Property mode set to 100644
File size: 600 bytes
RevLine 
[06b2bcf]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
[5b91b48]11BINS = test1 test2 test-pcap test-pcap-bpf test-erf-write
12.PHONY: all clean distclean install depend test
[06b2bcf]13
14all: $(BINS) 
[5b91b48]15
16test: all
17        for i in $(BINS); do                                    \
18                echo \* $$i;                                    \
19                LD_LIBRARY_PATH=$(libdir)                       \
20                 ./$$i || exit $$?;                             \
21        done                           
[06b2bcf]22 
23clean:
24        $(RM) $(BINS) $(OBJS) 
25
26distclean:
27        $(RM) $(BINS) $(OBJS) 
28
29install:
30        @true
31
32
33# vim: noet ts=8 sw=8
Note: See TracBrowser for help on using the repository browser.