diff --git a/Makefile b/Makefile index ce5531c..4624c3c 100644 --- a/Makefile +++ b/Makefile @@ -122,6 +122,8 @@ SRC_DIR=$(patsubst %/,%,$(dir $(abspath $(lastword $(MAKEFILE_LIST))))) vpath %.cpp $(SRC_DIR) PKG_CONFIG = pkg-config +$(call ensure_binary,$(PKG_CONFIG)) + override CFLAGS += -std=c++11 -Wall -pedantic -O2 -g GCC_4_2_OR_HIGHER := $(shell expr `$(CXX) -dumpversion | sed 's/\.//g'` \>= 420)