hello-dns/tdns/Makefile

25 lines
727 B
Makefile
Raw Normal View History

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
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
./testrunner
cd tests ; ./basic
2018-04-01 23:31:41 +07:00
-include *.d
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
tdig: tdig.o record-types.o dns-storage.o dnsmessages.o ext/simplesocket/comboaddress.o ext/simplesocket/sclasses.o ext/simplesocket/swrappers.o
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
g++ -std=gnu++14 $^ -o $@