make compiling a bit cleaner

This commit is contained in:
bert hubert
2018-10-16 12:14:00 +02:00
parent 112cc815aa
commit 2eb35588e0
3 changed files with 4 additions and 6 deletions

View File

@ -1,4 +1,4 @@
CXXFLAGS:=-std=gnu++14 -Wall -O2 -MMD -MP -ggdb -Iext/simplesocket -Iext/simplesocket/ext/fmt-5.2.1/include -Iext/catch -pthread CXXFLAGS:=-std=gnu++14 -Wall -O2 -MMD -MP -ggdb -Iext/simplesocket -Iext/simplesocket/ext/fmt-5.2.1/include -pthread
CFLAGS:= -Wall -O2 -MMD -MP -ggdb CFLAGS:= -Wall -O2 -MMD -MP -ggdb
PROGRAMS = tdns tdig tres tdns-c-test PROGRAMS = tdns tdig tres tdns-c-test

View File

@ -1,5 +1,5 @@
#define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one cpp file #define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one cpp file
#include "catch.hpp" #include "ext/catch/catch.hpp"
#include "dnsmessages.hh" #include "dnsmessages.hh"
#include "dns-storage.hh" #include "dns-storage.hh"

View File

@ -90,11 +90,9 @@ This requires a recent compiler version that supports C++ 2014. If you
encounter problems, please let me know (see above for address details). encounter problems, please let me know (see above for address details).
``` ```
$ git clone https://github.com/ahupowerdns/hello-dns.git $ git clone --recursive https://github.com/ahupowerdns/hello-dns.git
$ cd hello-dns/tdns $ cd hello-dns/tdns
$ git submodule init $ make -j4 tres
$ git submodule update
$ make
$ ./tres www.powerdns.org A $ ./tres www.powerdns.org A
... ...
Result or query for www.powerdns.org.|A Result or query for www.powerdns.org.|A