2018-04-13 16:02:59 +07:00
|
|
|
CXXFLAGS:=-std=gnu++14 -Wall -O2 -MMD -MP -ggdb -Iext/simplesocket -Iext/catch -pthread
|
2018-04-01 23:31:41 +07:00
|
|
|
|
2018-04-16 17:33:17 +07:00
|
|
|
PROGRAMS = tdns tdig
|
2018-04-01 23:31:41 +07:00
|
|
|
|
|
|
|
all: $(PROGRAMS)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *~ *.o *.d test $(PROGRAMS)
|
|
|
|
|
2018-04-17 17:48:01 +07:00
|
|
|
check: testrunner tdns tdig
|
2018-04-14 01:12:42 +07:00
|
|
|
./testrunner
|
2018-04-17 17:32:56 +07:00
|
|
|
cd tests ; ./basic
|
2018-04-01 23:31:41 +07:00
|
|
|
|
|
|
|
-include *.d
|
|
|
|
|
2018-04-29 15:18:58 +07:00
|
|
|
tdns: tdns.o record-types.o dns-storage.o dnsmessages.o contents.o ext/simplesocket/comboaddress.o ext/simplesocket/sclasses.o ext/simplesocket/swrappers.o tdnssec.o
|
2018-04-03 18:18:37 +07:00
|
|
|
g++ -std=gnu++14 $^ -o $@ -pthread
|
2018-04-13 16:02:59 +07:00
|
|
|
|
2018-04-17 17:32:56 +07:00
|
|
|
tdig: tdig.o record-types.o dns-storage.o dnsmessages.o ext/simplesocket/comboaddress.o ext/simplesocket/sclasses.o ext/simplesocket/swrappers.o
|
2018-04-16 17:33:17 +07:00
|
|
|
g++ -std=gnu++14 $^ -o $@ -pthread
|
|
|
|
|
|
|
|
|
2018-04-13 16:02:59 +07:00
|
|
|
testrunner: tests.o record-types.o dns-storage.o dnsmessages.o
|
2018-04-16 17:33:17 +07:00
|
|
|
g++ -std=gnu++14 $^ -o $@
|