mirror of https://github.com/sipwise/libtcap.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
371 B
24 lines
371 B
.PHONY: all clean
|
|
|
|
CPPFLAGS += -I ../include -I../asn1
|
|
CFLAGS := -Wall -g
|
|
LDFLAGS += -L../src
|
|
LDLIBS += -ltcap
|
|
|
|
TESTS = basic encode
|
|
|
|
all: $(TESTS)
|
|
|
|
test:
|
|
for t in $(TESTS); do \
|
|
echo "== Testing $$t =="; \
|
|
if LD_LIBRARY_PATH=../src ./$$t; then \
|
|
echo; echo "=> $$t: PASS"; \
|
|
else \
|
|
echo; echo "=> $$t: FAIL"; \
|
|
fi; \
|
|
done
|
|
|
|
clean:
|
|
rm -f $(TESTS)
|