Syslog openlog

Syslog logger sink with openlog setup.
I created a Makefile in the main directory.
By calling the example target build from the main directory the make command was saying that the 'example' is up to date.

It must be expanding the % wildcard to the directory with the same name.


~/git/spdlog$ cat Makefile 
%:
	make -C example $@

~/git/spdlog$ make example
make: `example' is up to date.


I can remove it ... and just  execute the command in the shell.

~/git/spdlog$ make -C example  example
make: Entering directory `/home/ubuntu/git/spdlog/example'
g++ example.cpp -o example -march=native -Wall -Wshadow -Wextra -pedantic -std=c++11 -pthread -Wl,--no-as-needed  -I../include  -O3 -flto
make: Leaving directory `/home/ubuntu/git/spdlog/example'