Files
hello-dns/tdns/Makefile
2018-04-13 11:02:59 +02:00

19 lines
503 B
Makefile

CXXFLAGS:=-std=gnu++14 -Wall -O2 -MMD -MP -ggdb -Iext/simplesocket -Iext/catch -pthread
PROGRAMS = tdns testrunner
all: $(PROGRAMS)
clean:
rm -f *~ *.o *.d test $(PROGRAMS)
#check: mtests
# ./mtests
-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
g++ -std=gnu++14 $^ -o $@ -pthread
testrunner: tests.o record-types.o dns-storage.o dnsmessages.o
g++ -std=gnu++14 $^ -o $@