2018-04-03 18:18:37 +07:00
|
|
|
CXXFLAGS:=-std=gnu++14 -Wall -O2 -MMD -MP -ggdb -Iext/simplesocket -pthread
|
2018-04-01 23:31:41 +07:00
|
|
|
|
|
|
|
PROGRAMS = tdns
|
|
|
|
|
|
|
|
all: $(PROGRAMS)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *~ *.o *.d test $(PROGRAMS)
|
|
|
|
|
|
|
|
#check: mtests
|
|
|
|
# ./mtests
|
|
|
|
|
|
|
|
-include *.d
|
|
|
|
|
2018-04-10 15:04:49 +07:00
|
|
|
tdns: tdns.o dns-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
|