X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile;h=4b71e4be141e31c9fff893171aecb243d7299b53;hb=9665f6b8d842f02facda1590200742482d4362fa;hp=2264c5609b21f471e29880b4049d093d67fe6711;hpb=c8a37f33eb29f651fed648a48918390f0da1eefb;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