X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile;h=4b71e4be141e31c9fff893171aecb243d7299b53;hb=8cec461523e0b48b9ba62c8a1ed6986031d6b74a;hp=2264c5609b21f471e29880b4049d093d67fe6711;hpb=9dba69873c4b22f885a70740df7f57b0d6a37fd6;p=mtp.git diff --git a/Makefile b/Makefile index 2264c56..4b71e4b 100644 --- a/Makefile +++ b/Makefile @@ -29,11 +29,15 @@ else OPTIMIZE_FLAG = -ggdb3 -O3 endif +ifeq ($(VERBOSE),yes) + VERBOSE_FLAG = -DVERBOSE +endif + ifeq ($(PROFILE),yes) PROFILE_FLAG = -pg endif -CXXFLAGS = -Wall $(OPTIMIZE_FLAG) $(PROFILE_FLAG) +CXXFLAGS = -Wall $(OPTIMIZE_FLAG) $(PROFILE_FLAG) $(VERBOSE_FLAG) all: mtp random-graph