hello-dns/tdns/Makefile

24 lines
698 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)
check: testrunner
./testrunner
2018-04-01 23:31:41 +07:00
-include *.d
2018-04-12 21:22:35 +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
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 contents.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 $@